resque
resque copied to clipboard
Windows USR signals
trafficstars
Since the following signals are not available on Windows
USR1 - Immediately kill child but don't exit USR2 - Don't start to process any new jobs
is there any other way to control a worker (stop/start processing jobs)?
Shall we use different SIGNALS available on Windows only for this job?
I will appreciate any help.
You can register new signals by yourself in those cases. You can loop thought all the workers and register the new signals handler using the correct methods. If you have recommendation of signals that we can use in windows we are also open to a PR.