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

Switch from WEBrick to Puma #114

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

tschafer-gc
Copy link
Contributor

@tschafer-gc tschafer-gc commented Dec 4, 2024

WEBrick appears to be approaching EOL and is being removed from Rackup, as mentioned here. This is causing issues with a number of services as discussed here. By switching to Puma we can solve this issue while also still supporting both Rack 2 and 3.

I merged this change in a previous PR, but then had to revert it due to issues in pay-svc. This PR adds a fix (the second commit) to pass in pidfile: nil to Puma if tmp/pids/ doesn't exist. I'll test this out on Skyhook and Pay-svc for a few days to get confidence it works okay.

@tschafer-gc tschafer-gc force-pushed the tschafer-switch-from-webrick-to-puma-2 branch from 76b2159 to fc91cd0 Compare December 4, 2024 14:52
@tschafer-gc tschafer-gc force-pushed the tschafer-switch-from-webrick-to-puma-2 branch from fc91cd0 to 22b8a03 Compare December 4, 2024 15:10
@tschafer-gc tschafer-gc marked this pull request as ready for review December 6, 2024 16:39
@tschafer-gc tschafer-gc merged commit 5263262 into master Dec 11, 2024
18 checks passed
@tschafer-gc tschafer-gc deleted the tschafer-switch-from-webrick-to-puma-2 branch December 11, 2024 16:49
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.

2 participants