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

Improve handling and configuration of GenerateFederatedSearchIndex job #706

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

mzur
Copy link
Member

@mzur mzur commented Nov 29, 2023

If the default queue was congested, the job would not be run within 1 hour. When the "fetch index" request came from another instance, it would attempt to generate the index synchronously because the index was not there in the cache. This failed because generating the index took longer than the 30 s request timeout.

Now the job is dispatched 30 min before the requests should arrive. Also, the job can be pushed to a higher priority queue.

If the default queue was congested, the job would not be run within
1 hour. When the "fetch index" request came from another instance,
it would attempt to generate the index synchronously because the
index was not there in the cache. This failed because generating the
index took longer than the 30 s request timeout.

Now the job is dispatched 30 min before the requests should arrive.
Also, the job can be pushed to a higher priority queue.
@mzur mzur merged commit aca6db7 into master Nov 29, 2023
6 checks passed
@mzur mzur deleted the patch-1 branch November 29, 2023 08:46
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