For stop, user can now optionally set which signals are sent in which order.
eg --signals_and_waits=TERM:10|KILL:20 is sending TERM and waiting 10s, then sending KILL and waiting 20s.
Default ist TERM:20|KILL:20 as before
For example, this is useful in combination with delayed_job, where we override the start script "script/delayed_job" to give the workers more time to stop properly:
For
stop
, user can now optionally set which signals are sent in which order. eg--signals_and_waits=TERM:10|KILL:20
is sending TERM and waiting 10s, then sending KILL and waiting 20s. Default istTERM:20|KILL:20
as beforeFor example, this is useful in combination with delayed_job, where we override the start script "script/delayed_job" to give the workers more time to stop properly: