Rails and Restarts #3247
Unanswered
honzasterba
asked this question in
Q&A
Replies: 1 comment
-
Have you seen https://github.com/puma/puma/blob/master/docs/restart.md#phased-restart? (permalink) Maybe it could give you some cluses. I'm thinking of
Otherwise there's very little info to go on here to help... but yeah, start fresh is the most reliable way :) (Also, consider updating Ruby ;-) and Rails) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After migrating to Puma and phased restarts we have had a couple of errors:
No connection pool with 'primary' found
already initialized constant X
While doing more testing we discovered things are not working as if classes were re-loaded but initializers did not run on start.
We have tried switching from Phased to Hot restarts but eventually the only thing that proved working was shutting down the Puma process and starting fresh.
App details: Puma 6, Rails 5.0, Ruby 2.4
Beta Was this translation helpful? Give feedback.
All reactions