You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use phased-restart to restart my Rails app, the action cable connection is lost because all workers shut down to restart new workers. This causes downtime for the client as the worker should not restart until the connection goes down. The UI interface shows the client's status based on action cable, and when I restart the app for deployment using phased-restart, the worker termination issue occurs.
Expected behavior
I anticipate that the master will postpone the shutdown of the worker until the connection has been closed, then initiate the restart for this worker, while also restarting every other worker that does not have open connections.
Desktop (please complete the following information):
OS: Ubuntu 22.04.2 LTS
Puma Version 6.4.2
Rails Version 6.0.6.1
The text was updated successfully, but these errors were encountered:
This sounds like a feature request more than a bug, going of the current documentation that states Idle persistent connections are gracefully disconnected
No need to create a new issue. I was just setting exceptions / contributing to the discussion. Maybe the title should be tweaked, but we can await feedback from others.
Describe the bug
When I use phased-restart to restart my Rails app, the action cable connection is lost because all workers shut down to restart new workers. This causes downtime for the client as the worker should not restart until the connection goes down. The UI interface shows the client's status based on action cable, and when I restart the app for deployment using phased-restart, the worker termination issue occurs.
Puma config:
Puma config:
command line options:
Expected behavior
I anticipate that the master will postpone the shutdown of the worker until the connection has been closed, then initiate the restart for this worker, while also restarting every other worker that does not have open connections.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: