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
Should the main loop catch network exceptions? A temporary network problem will cause the loop to end. This possibly isn't a problem if/when the container is set to restart on failure but should the code be as robust as we can make it without relying on that?
Should the main loop catch network exceptions? A temporary network problem will cause the loop to end. This possibly isn't a problem if/when the container is set to restart on failure but should the code be as robust as we can make it without relying on that?
Yes is my view. We currently rely on container restarts to manage the service, it feels completely unnecessary and fragile, and just adds complexity to observability / debugging.
The best outcome is graceful degradation - catch the exception, log it, and wait twice as long each time to retry (with a maximum time of 1 minute (which can be over-ride in config..)).
If a request succeeds - then the retry is reset.
Is this the right issue type?
Summary
The main daemon while loop could do with moving out to testable functions and cleaning up.
Acceptance Criteria
Tasks
Confirm creation
The text was updated successfully, but these errors were encountered: