Skip to content
New issue

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

Reduce timeout wait time #215

Merged
merged 1 commit into from
Jun 2, 2016

Conversation

mariokostelac
Copy link
Contributor

@mariokostelac mariokostelac commented May 25, 2016

Fixes that case where:

  1. Timeout is set to some big value (slow jobs needs that to avoid excessive retrying)
  2. stop is received
  3. A worker is running so we end in after(delay) part of soft/hard shutdown

Current code will wait for exactly delay to shut down while it could die after that last worker crashes/finishes.

@mariokostelac mariokostelac changed the title Reduce hard timeout wait time Reduce timeout wait time May 25, 2016
@phstc phstc merged commit 12f0151 into ruby-shoryuken:master Jun 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants