- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 212
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
What's the best way to auto truncate good_job_executions table #1607
Comments
This is the method that deletes old records: Lines 198 to 248 in b557525
In operation, the GoodJob::Scheduler tracks the number of jobs that have been executed with the GoodJob::CleanupTracker, and after a certain number of jobs have been performed, the Scheduler then calls JobPerformer#cleanup, which then calls If the Job never finishes/discards, then yes, the executions for that job will pile up as the job+execution records are not cleaned up until it finishes/discards. |
Just wondering how does good_job manage the size and truncation of
good_job_executions
table?Coz it seems
good_job_executions
table will continue to increase forever.The text was updated successfully, but these errors were encountered: