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

Always run Puma in cluster mode, even with 1 worker #25213

Merged
merged 1 commit into from Oct 4, 2018

Conversation

wjordan
Copy link
Contributor

@wjordan wjordan commented Oct 3, 2018

Fixes issue with service script not detecting upgrade-action completion when Puma was running in single-server mode.

This PR will always use cluster mode (serving the web-application from forked worker processes), even when the number of workers is 1. This makes single-worker environments more production-like with very little drawback (slightly increased memory usage, but not a big deal).

Fixes issue with service script not detecting upgrade-action completion
when Puma was running in single-server mode.
[ci skip]
@davidsbailey
Copy link
Member

LGTM from a deployment perspective -- we got all the PLC fixes out last night and I think this would be fine to merge this morning.

@wjordan wjordan merged commit 1b88ba6 into staging Oct 4, 2018
@wjordan wjordan deleted the puma_service_cluster_fix branch October 4, 2018 17:36
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.

None yet

2 participants