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

Event for dead job #171

Open
tinenbruno opened this issue Sep 13, 2018 · 2 comments
Open

Event for dead job #171

tinenbruno opened this issue Sep 13, 2018 · 2 comments

Comments

@tinenbruno
Copy link
Contributor

Hello!

In some cases, I would want to run an action when a job goes to the Dead queue. I saw that there are some events for jobs already, like job failure. Would it be desirable to have a dead event?

Another use case might be when a user wants to run some action after a set number of retries. The map passed to the job failure event does not have this info.

@edgurgel
Copy link
Owner

edgurgel commented Sep 13, 2018

In some cases, I would want to run an action when a job goes to the Dead queue. I saw that there are some events for jobs already, like job failure. Would it be desirable to have a dead event?

That would be a great addition 👍

Another use case might be when a user wants to run some action after a set number of retries. The map passed to the job failure event does not have this info.

I think the job should have the retry_count

@Psli
Copy link
Contributor

Psli commented Aug 18, 2019

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants