Stop/restar que without trace output #2724

This commit is contained in:
Priit Tark 2015-07-17 18:43:37 +03:00
parent c484fbd99d
commit 48c22bb538
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