0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-20 01:52:04 +01:00
forgejo/modules/indexer
dark-angel 00370f17a4
[gitea] 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

(cherry picked from commit 5c0fc9087211f01375f208d679a1e6de0685320c)
2024-02-10 10:53:43 +01:00
..
code [gitea] fix: Elasticsearch: Request Entity Too Large () 2024-02-10 10:53:43 +01:00
internal [GITEA] Vendor rupture dependency 2024-02-05 15:08:04 +01:00
issues [CI] disable meilisearch/elasticsearch test, no server yet in CI 2024-02-05 13:33:58 +01:00
stats Simplify how git repositories are opened () 2024-01-27 21:09:51 +01:00