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 ada41b8 commit f3bbf99Copy full SHA for f3bbf99
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