1
0
Fork 0
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:
Eyüp Atiş 2019-03-02 20:15:10 +03:00 committed by Mike Perham
parent edbefc4ec1
commit e1b392d3be

View file

@ -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"