Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is possible to enhance the backoff parameters? #1528

Closed
jseparovic opened this issue Jul 21, 2022 · 2 comments
Closed

It is possible to enhance the backoff parameters? #1528

jseparovic opened this issue Jul 21, 2022 · 2 comments
Labels

Comments

@jseparovic
Copy link

When using supervisord to restart a process that is exiting upon start, it seems the backoff procedure just adds 1 second to the backoff forever.
Is it possible to add a config option such as maxbackoff=30 or similar so that we can force a restart attempt at least every 30 seconds even when the process it not starting continually.
It might be some external system that needs to be fixed in order for the process to start and this could take some time, but supervisor should keep retrying so the process comes back up in a timely manner when the external system is fixed.
If the external system is down for a day

Would like to use something like:
autorestart=true
startretries=2147483647
maxbackoff=30

So that supervisor will retry at least every 30 seconds.

@jseparovic
Copy link
Author

I created a PR #1529
Not sure if I added the config variable correctly. It works ok in my setup.

@mnaberez
Copy link
Member

Continued in #1529

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants