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

Fix concurrency Bug #31

Merged
merged 1 commit into from
Jul 26, 2024
Merged

Fix concurrency Bug #31

merged 1 commit into from
Jul 26, 2024

Conversation

niquerio
Copy link
Contributor

The term fetchers were not retrieving all of the terms from Solr because the thread queue was overloaded. The number of threads is bounded for these processes and it's important that all of the terms are collected, so this value is set to 0 which means infinity.

This PR also changes ThreadPoolExecutor to FixedThreadPool in authority_browse term_fetcher so that they match.

The term fetchers were not retrieving all of the terms from solr because
the thread queue was overloaded. The number of threads is bounded for
these processes and it's important that all of the terms are collected,
so this value is set to 0 which means infinity.

Also changes ThreadPoolExecutor to FixedThreadPool in
authority_browse term_fetcher so that they match.
@niquerio niquerio merged commit 0112f2b into main Jul 26, 2024
1 check passed
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.

1 participant