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 AlgoliaReindexAllJob to batch into steps #72

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

matt-in-a-hat
Copy link
Contributor

@matt-in-a-hat matt-in-a-hat commented Jul 31, 2024

Fix to use jobData so that it is possible to run over multiple steps & if the job dies or runs out of memory etc.
Complete overhaul of this class to actually do what it says in the setup description - do the heavy lifting / batching at setup and then step through them 1 chunk at a time using QueuedJob's currentStep.

@matt-in-a-hat matt-in-a-hat force-pushed the fix-reindex-all-job-batching-logic branch from 92adb22 to 5b15a12 Compare July 31, 2024 00:51
Fix to use jobData so that it is possible to run over multiple steps & if the job dies or runs out of memory etc.
Complete overhaul of this class to actually do what it says in the setup description - do the heavy lifting / batching at setup and then step through them 1 chunk at a time using QueuedJob's currentStep.
@matt-in-a-hat matt-in-a-hat force-pushed the fix-reindex-all-job-batching-logic branch from 5b15a12 to ef1a478 Compare July 31, 2024 01:36
@wilr wilr merged commit 8d32123 into wilr:main Jul 31, 2024
6 checks 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.

2 participants