I feel a bit stupid for asking, but it doesn't appear to be in the documentation for RQ. I have a 'failed' queue with thousands of items in it and I want to clear it using the Django admin interface. The admin interface lists them and allows me to delete and re-queue them individually but I can't believe that I have to dive into the django shell to do it in bulk.
What have I missed?
The other answers are outdated with the RQ updates implementing
Registries.Now, you need to do this to loop through and delete failed jobs. This would work any particular
Registryas well.Source