1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-01 14:56:30 +00:00
gitea/modules/indexer
dark-angel 5c0fc90872
fix: Elasticsearch: Request Entity Too Large ()
Fix for gitea putting everything into one request without batching and
sending it to Elasticsearch for indexing as issued in 

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
2024-02-07 08:57:16 +00:00
..
code fix: Elasticsearch: Request Entity Too Large () 2024-02-07 08:57:16 +00:00
internal Refactor and enhance issue indexer to support both searching, filtering and paging () 2023-07-31 06:28:53 +00:00
issues Fix sort bug on repository issues list () 2024-01-23 09:17:42 +08:00
stats Simplify how git repositories are opened () 2024-01-27 21:09:51 +01:00