Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Elasticsearch: Request Entity Too Large go-gitea#28117 (go-gitea…
…#29062) Fix for gitea putting everything into one request without batching and sending it to Elasticsearch for indexing as issued in go-gitea#28117 This issue occured in large repositories while Gitea tries to index the code using ElasticSearch. I've applied necessary changes that takes batch length from below config (app.ini) ``` [queue.code_indexer] BATCH_LENGTH=<length_int> ``` and batches all requests to Elasticsearch in chunks as configured in the above config
- Loading branch information