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:
72
72
* ` after_enqueue ` : Called with the job args after a job is placed on the queue.
73
73
Any exception raised propagates up to the code which queued the job.
74
74
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
+
75
81
* ` before_perform ` : Called with the job args before perform. If it raises
76
82
` Resque::Job::DontPerform ` , the job is aborted. If other exceptions
77
83
are raised, they will be propagated up the the ` Resque::Failure `
You can’t perform that action at this time.
0 commit comments