Open tarekziade opened 11 years ago
When the worker receives a signal that makes it quit the current job, like SIGUSR1, we need to give a chance to the user to do something in its code.
I propose two events:
What do you think ?
Wouldn't a general shut-down event handle job_aborted? Or perhaps setting a variable during job_aborting that the on quit handler can see.
sounds good
When the worker receives a signal that makes it quit the current job, like SIGUSR1, we need to give a chance to the user to do something in its code.
I propose two events:
What do you think ?