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.
2 parents 8e7c205 + f3bbf99 commit 8662707Copy full SHA for 8662707
Gemfile
@@ -3,6 +3,7 @@ source :rubygems
3
gemspec
4
5
group :test do
6
+ gem "rake"
7
gem "rack-test", "~> 0.5"
8
gem "mocha", "~> 0.9.7"
9
gem "leftright", :platforms => :mri_18
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