We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you clarify how resque workers should respond to signals when using resque-multi-job-forks?
I ask because it seems like my workers aren't responding to QUIT or if they are it is only after the fork time limit is reached.
The text was updated successfully, but these errors were encountered:
After some experimentation, I can confirm that workers do not respond to QUIT until fork_job_limit_reached? returns true.
fork_job_limit_reached?
Sorry, something went wrong.
The child process also needs to be sent the signal call so that its @shutdown variable can be set.
@shutdown
I think it is assumed that the child only lives in these three lines https://github.com/defunkt/resque/blob/master/lib/resque/worker.rb#L129-L131
Fixed by stulentsev#2 (that's the new primary GitHub repository as well)
No branches or pull requests
Can you clarify how resque workers should respond to signals when using resque-multi-job-forks?
I ask because it seems like my workers aren't responding to QUIT or if they are it is only after the fork time limit is reached.
The text was updated successfully, but these errors were encountered: