Skip to content

wish: throttle "restartall" #603

@markstos

Description

@markstos

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions