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

Add management command to cull task queue #60

Merged
merged 5 commits into from
Aug 12, 2024

Conversation

RealOrangeOne
Copy link
Owner

Fixes #16

@mgax
Copy link
Contributor

mgax commented Jul 19, 2024

IMHO, cull sounds pretty violent, or is it just me? I'd go with something more neutral like gc or prune.

@RealOrangeOne
Copy link
Owner Author

I do agree, but "cull" is the lingo Django already uses for limiting the number of items in the cache: https://docs.djangoproject.com/en/5.0/topics/cache/#cache-arguments.

@mgax
Copy link
Contributor

mgax commented Jul 23, 2024

Eh, Django uses prune too, for cleaning up migration records from the database: https://docs.djangoproject.com/en/5.0/ref/django-admin/#cmdoption-migrate-prune.

@RealOrangeOne RealOrangeOne force-pushed the feature/queue-retention branch from 6e4a0ed to 2e49a42 Compare August 12, 2024 11:35
@RealOrangeOne RealOrangeOne marked this pull request as ready for review August 12, 2024 11:40
@RealOrangeOne RealOrangeOne force-pushed the feature/queue-retention branch from b66a6ca to 7a4472b Compare August 12, 2024 11:56
@RealOrangeOne RealOrangeOne merged commit 230cd66 into master Aug 12, 2024
41 checks passed
@RealOrangeOne RealOrangeOne deleted the feature/queue-retention branch August 12, 2024 12:01
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.

Queue retention
2 participants