We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
exit
exit!
1 parent ee5784c commit 8401f8eCopy full SHA for 8401f8e
lib/resque/worker.rb
@@ -128,7 +128,7 @@ def work(interval = 5.0, &block)
128
else
129
procline "Processing #{job.queue} since #{Time.now.to_i}"
130
perform(job, &block)
131
- exit unless @cant_fork
+ exit! unless @cant_fork
132
end
133
134
done_working
@@ -302,7 +302,7 @@ def kill_child
302
def paused?
303
@paused
304
305
-
+
306
# Stop processing jobs after the current one has completed (if we're
307
# currently running one).
308
def pause_processing
0 commit comments