Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Ability to delete all items from the failed queue #39

Closed
robbiehudson opened this issue Aug 11, 2010 · 4 comments
Closed

Ability to delete all items from the failed queue #39

robbiehudson opened this issue Aug 11, 2010 · 4 comments
Labels

Comments

@robbiehudson
Copy link

It'd be nice to be able to delete all the items from the error queue rather than going through and deleting them individually (similarly it'd be good to be able to requeue all).

Not sure if this is in the pipeline or easy. I'm using pyres 0.8

@binarymatt
Copy link
Owner

You are right, this is one of the features that I want to have for version 1.0. I'm going to try and work on this pretty soon, unless someone has a patch to do this.

@binarymatt
Copy link
Owner

i wanted to include a quick workaround for deleting everything from a failed queue:

resq.redis.rename('resque:failed','resque:failed-staging')
resq.redis.delete('resque:failed-staging')

I'll work on finding a workaround for the time being for retrying everything in the failed queue.

@binarymatt
Copy link
Owner

this has been added into trunk, 5189970. For the retry, i limited it to 5000 jobs, because of performance concerns.

@robbiehudson
Copy link
Author

Great! Thanks very much for that. Look forward to trying it out in the next release.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants