verk icon indicating copy to clipboard operation
verk copied to clipboard

Event for dead job

Open tinenbruno opened this issue 6 years ago • 2 comments

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.

tinenbruno avatar Sep 13 '18 20:09 tinenbruno

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

edgurgel avatar Sep 13 '18 21:09 edgurgel

+1

Psli avatar Aug 18 '19 16:08 Psli