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: target done jobs with vacuuming instead of dead jobs #446

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

iZucken
Copy link
Contributor

@iZucken iZucken commented Nov 11, 2024

It seems that the initial intention was to clean up done jobs (from the surrounding code also), but the code references dead jobs. It also might make more sense to drop done jobs and keep dead ones for issue analysis.

SQL packages remove "done" jobs with vacuuming also:

Delete from jobs where status='Done'

It seems that the initial intention was to clean up done jobs (from the surrounding code also), but the code references dead jobs. It also might make more sense to drop done jobs and keep dead ones for issue analysis.

SQL packages remove "done" jobs with vacuuming also:
```SQL
Delete from jobs where status='Done'
```
@iZucken iZucken mentioned this pull request Nov 11, 2024
@geofmureithi geofmureithi merged commit 928b4b7 into geofmureithi:master Nov 12, 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