This satisfies #97 as well as adding hooks anytime the job is released for retry.
It adds hooks for :on_retry and :on_bury. on_retry will pass the retry count (inclusive of this attempt) and the delay as well as all of the rest of the job's args. on_bury passes the job's args as usual without anything extra.
This satisfies #97 as well as adding hooks anytime the job is released for retry.
It adds hooks for
:on_retry
and:on_bury
.on_retry
will pass the retry count (inclusive of this attempt) and the delay as well as all of the rest of the job's args.on_bury
passes the job's args as usual without anything extra.