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

Add a before_fork callback called before forking new molds and new workers #77

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

casperisfine
Copy link
Contributor

Fix: #76

FYI: @skirushkin

@skirushkin
Copy link

skirushkin commented Dec 1, 2023

I've checked this callback and it works perfect! Thank you so much!

Also I believe you need to fix docs here https://github.com/Shopify/pitchfork/blob/master/docs/FORK_SAFETY.md

And move Sequel::DATABASES.each(&:disconnect) to correct callback

@casperisfine casperisfine merged commit d9a8a9c into master Dec 4, 2023
10 checks passed
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.

Sequel PG::ConnectionBad on refork.
3 participants