Supervisor / supervisor

Supervisor process control system for Unix (supervisord)
http://supervisord.org
Other
8.33k stars 1.23k forks source link

Add maxbackoff and backoffincrement options #1626

Open cdelguercio opened 4 months ago

cdelguercio commented 4 months ago

based on https://github.com/Supervisor/supervisor/pull/1529

Fixes #323

cdelguercio commented 4 months ago

If maxbackoff and backoffincrement are both set, adding backoffincrement to backoff may result in the remaining retries having a backoff value higher than maxbackoff.

Ex: maxbackoff = 25 backoffincrement = 10

backoff will go from 1, 11, 21, 31, 31, 31, 31...