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

ensure app is removed from pool after sigterm #274

Merged
merged 5 commits into from
Apr 16, 2021

Conversation

nonrational
Copy link
Member

Resolves #59 (🤞)

I can't reproduce this issue on my machine but this patch fixed it in the past before I stopped being able to reproduce it. 🤷

The gist of the bug is that puma-dev can get into a state where the puma process shuts down but doesn't get removed from the app pool, so subsequent requests don't know they need to boot puma again. This ensures that, after a successful sigterm, the app is always removed from the app pool.

@nonrational
Copy link
Member Author

@elsurudo are you able and willing to test this branch building from source to see if it resolves the issue for you?

@nonrational nonrational marked this pull request as ready for review April 16, 2021 12:54
@nonrational nonrational merged commit 41db297 into master Apr 16, 2021
@nonrational nonrational deleted the pool-remove-on-timeout branch April 16, 2021 16:32
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.

touch tmp/restart.txt always leads to connection refused
1 participant