mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Improve shutdown speed a bit, fixes #2774
This commit is contained in:
parent
3f6940b606
commit
865d12755a
1 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,8 @@ module Sidekiq
|
|||
fire_event(:quiet, true)
|
||||
end
|
||||
|
||||
PAUSE_TIME = $TESTING ? 0.1 : 0.5
|
||||
# hack for quicker development / testing environment #2774
|
||||
PAUSE_TIME = STDOUT.tty? ? 0.1 : 0.5
|
||||
|
||||
def stop(deadline)
|
||||
quiet
|
||||
|
|
Loading…
Reference in a new issue