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

httpok: try to restart even in FATAL process state #1219

Closed
eoghanmurray opened this issue Mar 28, 2019 · 3 comments
Closed

httpok: try to restart even in FATAL process state #1219

eoghanmurray opened this issue Mar 28, 2019 · 3 comments

Comments

@eoghanmurray
Copy link

I'm wondering why httpok doesn't include an option to always try to restart even if the process is not in ProcessStates.RUNNING?
That would be my feature request for an option to add that (or to do it by default).
Do people use a different tool for that job?

My scenario is that a temporary configuration error meant that a key process couldn't start (startretries was 3, but as the config was incorrect for around a half hour — so I'd have had have set that quite high to cover the half hour)

As I've an hourly httpok running, my assumption was that this would have attempted to restart the process each hour, and (say) 10 hours later the system could be back working without intervention.

I want to see if I'm missing some approach before submitting a PR.

@mnaberez
Copy link
Member

This is the issue tracker for the supervisor package. The httpok program is part of the superlance package. Please report issues for httpok in the superlance issue tracker.

@eoghanmurray
Copy link
Author

Apologies I didn't know there was a distinction
Supervisor/superlance#120

@mnaberez
Copy link
Member

No problem, thank you for moving it!

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

No branches or pull requests

2 participants