mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Stop/restar que without trace output #2724
This commit is contained in:
parent
c484fbd99d
commit
48c22bb538
2 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue