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

Allow to use preload_app! with fork_worker #2907

Merged
merged 1 commit into from Sep 15, 2022

Conversation

casperisfine
Copy link
Contributor

Followup: #2099

So far it was incompatible because true phased restart are incompatible with preload_app.

But fork_worker doesn't do a phased restart per say, it just piggy back on the implementation to ask worker #0 to refork its siblings.

So we can just bypass that check and it works.

So far it was incompatible because true phased
restart are incompatible with preload_app.

But `fork_worker` doesn't do a phased restart
per say, it just piggy back on the implementation
to ask worker #0 to refork its siblings.

So we can just bypass that check and it works.
@nateberkopec nateberkopec merged commit e438b90 into puma:master Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants