Stop/restar que without trace output #2724

This commit is contained in:
Priit Tark 2015-07-17 18:43:37 +03:00
parent 41d3c9ab8a
commit 14030f0097
2 changed files with 7 additions and 2 deletions

View file

@ -26,7 +26,7 @@ Que.mode = :async
# the rake task in tasks/safe_shutdown.rb.
stop = false
%w( INT TERM ).each do |signal|
%w( INT ).each do |signal|
trap(signal) { stop = true }
end