File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,12 @@ The available hooks are:
7272* ` after_enqueue ` : Called with the job args after a job is placed on the queue.
7373 Any exception raised propagates up to the code which queued the job.
7474
75+ * ` before_dequeue ` : Called with the job args before a job is removed from the queue.
76+ If the hook returns ` false ` , the job will not be removed from the queue.
77+
78+ * ` after_dequeue ` : Called with the job args after a job was removed from the queue.
79+ Any exception raised propagates up to the code which dequeued the job.
80+
7581* ` before_perform ` : Called with the job args before perform. If it raises
7682 ` Resque::Job::DontPerform ` , the job is aborted. If other exceptions
7783 are raised, they will be propagated up the the ` Resque::Failure `
You can’t perform that action at this time.
0 commit comments