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

various fixes to indexing queue #4854

Merged
merged 15 commits into from
May 24, 2024
Merged

Conversation

asdine
Copy link
Member

@asdine asdine commented May 6, 2024

What's being changed:

This PR fixes a few issues with the indexing queue and adds two env vars:

  • ASYNC_MAX_CHUNKS_PER_TICK: to control the dequeue speed, i.e how many batches to index at a time (defaults to the number of cores)
  • ASYNC_THROTTLING: to limit the indexing to 1 batch at a time during importing. This increases the import speed drastically.

Review checklist

  • Documentation has been updated, if necessary. Link to changed documentation:
  • Chaos pipeline run or not necessary. Link to pipeline:
  • All new code is covered by tests where it is reasonable.
  • Performance tests have been run or not necessary.

@asdine asdine changed the title add logs to indexing queue various fixes to indexing queue May 23, 2024
Copy link

sonarcloud bot commented May 24, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.7% Duplication on New Code

See analysis details on SonarCloud

@antas-marcin antas-marcin merged commit 271af39 into stable/v1.24 May 24, 2024
38 of 39 checks passed
@antas-marcin antas-marcin deleted the async-indexing-logs branch May 24, 2024 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants