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 rqcleanqueue to management commands #609

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rfreis
Copy link

@rfreis rfreis commented Jun 9, 2023

Hi guys,
I hope this PR finds you all well!

During my daily usage on local environment faced situations that this command could help a lot - actually I'm already using it on my local environment - and thought could be a good idea share this with everybody else

If you find useful, I'll be happy to contribute with the required changes/upgrades to meet the project standards or further improvements

@selwin
Copy link
Collaborator

selwin commented Aug 24, 2023

Hi @rfreis mind writing a unit test for this? I think it'd also be better to rename this to rq-empty-queue. RQ has clean_registries method, which does some house keeping tasks, so I don't want to use the clean terminology for something that will delete the entire queue.

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