-
Notifications
You must be signed in to change notification settings - Fork 945
Open
Labels
Description
I have several produces managed by forever which work as a pool. The reverse proxy in front of them can gracefully handle some members of the pool being offline.
However, it appears that when 'forever restartall' is used, all my node instances are going offline at once, and the app temporarily becomes unavailable. This behavior is nice in some ways in that it's fast and keeps all the nodes together in a consistent state.
Still, it would be nice to have an option for a throttled version of restartall that restarts one at a time, perhaps with a pause.
As a workaround, I could write a script to query forever list and then call forever restart on the node instances one by one.