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
Since using spawn mode to create a new process will be slower to start a new process, so after all the old processes are killed, there will be no new process to serve for a few seconds, if we start a new process and then wait for that process to become available before killing the old process, we can achieve a chained restart without interrupting service.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Here is the code for the current graceful restart:
code
Since using spawn mode to create a new process will be slower to start a new process, so after all the old processes are killed, there will be no new process to serve for a few seconds, if we start a new process and then wait for that process to become available before killing the old process, we can achieve a chained restart without interrupting service.
Beta Was this translation helpful? Give feedback.
All reactions