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

Dont store failed jobs in 'failed' queue #345

Open
shotap opened this issue May 7, 2017 · 1 comment
Open

Dont store failed jobs in 'failed' queue #345

shotap opened this issue May 7, 2017 · 1 comment

Comments

@shotap
Copy link

shotap commented May 7, 2017

Hi,
I use the onFailure hook to implement retry with ResqueScheduler, how I can prevent the job to append to the failed queue? because if I retry the job I dont want it to appear in the failed list

@danhunsaker
Copy link
Contributor

It looks as though there isn't currently a way to do so. The code would have to be modified to check and handle a return value from the onFailure hook. At the moment, it's just a detailed log of each failure. (It's not really a "queue" in the first place, really.)

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

No branches or pull requests

2 participants