Skip to content

Commit de26a89

Browse files
committed
fix term child opt in code
thanks @wuputah
1 parent 63829b1 commit de26a89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resque/tasks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
worker.verbose = ENV['LOGGING'] || ENV['VERBOSE']
1616
worker.very_verbose = ENV['VVERBOSE']
1717
worker.term_timeout = ENV['RESQUE_TERM_TIMEOUT'] || 4.0
18-
worker.term_child = ENV['TERM_CHILD'].to_i || 1
18+
worker.term_child = ENV['TERM_CHILD']
1919
rescue Resque::NoQueueError
2020
abort "set QUEUE env var, e.g. $ QUEUE=critical,high rake resque:work"
2121
end

0 commit comments

Comments
 (0)