mperham/sidekiq — Issue #69: Feature Request: Respond to unix signals
Author: bensie
Created: 2012-03-09 02:22:49+00:00
State: open

It would be great if sidekiq could support a few unix signals - here is a list similar to Resque:

* `QUIT` - Wait for sidekiq to finish processing current jobs then exit
* `TERM` / `INT` - Immediately kill sidekiq then exit
* `USR1` - Don't start to process any new jobs
* `CONT` - Start to process new jobs again after a USR1

Perhaps allow a job max execution time config variable and use that as the timeout for a `QUIT` to exit