Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from go-gitea:main #25

Merged
merged 2 commits into from
Feb 7, 2024
Merged

[pull] main from go-gitea:main #25

merged 2 commits into from
Feb 7, 2024

Conversation

pull[bot]
Copy link

@pull pull bot commented Feb 7, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

wxiaoguang and others added 2 commits February 7, 2024 08:32
Fix #28974

Add some new tests and fix some legacy unclear tests.
Fix for gitea putting everything into one request without batching and
sending it to Elasticsearch for indexing as issued in #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
@pull pull bot added the ⤵️ pull label Feb 7, 2024
@pull pull bot merged commit 5c0fc90 into kp-forks:main Feb 7, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants