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
Would be nice to have an exponential backoff feature when a process fails and you would like to restart it, but then allow that exponential backoff to be reset when the process is "alive" for a certain amount of time. As a start, this could even be simply allowing restartDelay option to take a function instead of a number.
Example:
process fails -> immediate restart
process fails -> restart after 2 seconds
process fails -> restart after 4 seconds
process fails -> restart after 8 seconds
process "succeeds", where "success" is defined as "did not exit for 60 seconds after starting"
process fails -> immediate restart
process fails -> restart after 2 seconds
The text was updated successfully, but these errors were encountered:
Would be nice to have an exponential backoff feature when a process fails and you would like to restart it, but then allow that exponential backoff to be reset when the process is "alive" for a certain amount of time. As a start, this could even be simply allowing restartDelay option to take a function instead of a number.
Example:
The text was updated successfully, but these errors were encountered: