Hi Sam, I think you're right that it doesn't exist. I don't have any time to do it but does seem like a useful feature to me.
I'd like to see a future version of Supervisor support pluggable restart strategies. For example, there are cases I've run into where a shared resource is unavailable causing many daemons to keep dying and getting respawned, saturating the CPU of the machine. I'd like to able about to write a plugin to avoid restart while the shared resource is down. On Mon, Jun 6, 2011 at 2:38 AM, Sam's Lists <[email protected]> wrote: > I have an app that occasionally exits on purpose with an error code. > Supervisor restarts it - as I want it to do. But it restarts it > immediately, which puts a lot of load on the system. Instead I'd like > supervisor to take two minutes (in this case) before restarting the > app. > > As far as I can tell from the docs, no option for this exists. Is > that correct? Is this something you'd be amenable to adding? > > Thanks > Sam > _______________________________________________ > Supervisor-users mailing list > [email protected] > http://lists.supervisord.org/mailman/listinfo/supervisor-users >
_______________________________________________ Supervisor-users mailing list [email protected] http://lists.supervisord.org/mailman/listinfo/supervisor-users
