Skip to content

feat: add recurring cleanup job to generator #564

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

elasticspoon
Copy link

Motivation

At my work we have been trying to unify our applications on solid queue for background job processing and we found pretty consistently that when developers were setting it up they did not realize that they would need to schedule a job to clear out finished jobs. (I only learned about this when I had 12M finished jobs and my dashboard had slowed to a crawl).

Its not immediately clear that finished jobs need to be cleaned up or that solid queue has a built in way to do that. The only mention of this in the README is part of a bullet under additional config.

Implementation

I think adding a note and implementation of this behavior directly to the recurring.yml that is generated when installing would make it a lot easier for developers to realize that they may need to add this recurring job.

Its not immediately clear that finished jobs need to be cleaned up or
that solid queue has a built in way to do that.

This adds a commented out implementation of that recurring behavior to
the generator to make is easier for users to learn about the behavior.
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