mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Fix heroku wait time, change it to 30 from 10 (#4117)
This commit is contained in:
parent
edbefc4ec1
commit
e1b392d3be
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ def handle_signal(launcher, sig)
|
||||||
# http://jira.codehaus.org/browse/JRUBY-4637
|
# http://jira.codehaus.org/browse/JRUBY-4637
|
||||||
raise Interrupt
|
raise Interrupt
|
||||||
when 'TERM'
|
when 'TERM'
|
||||||
# Heroku sends TERM and then waits 10 seconds for process to exit.
|
# Heroku sends TERM and then waits 30 seconds for process to exit.
|
||||||
raise Interrupt
|
raise Interrupt
|
||||||
when 'TSTP'
|
when 'TSTP'
|
||||||
Sidekiq.logger.info "Received TSTP, no longer accepting new work"
|
Sidekiq.logger.info "Received TSTP, no longer accepting new work"
|
||||||
|
|
Loading…
Reference in a new issue