mirror of
https://github.com/internetee/registry.git
synced 2025-07-13 22:45:06 +02:00
Stop/restar que without trace output #2724
This commit is contained in:
parent
41d3c9ab8a
commit
14030f0097
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