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

client_utils: use a retrying http client #1281

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kba
Copy link
Member

@kba kba commented Oct 1, 2024

I added those to my local fork for robustness to handle network connectivity issues. Not sure how sensible that is and hard to investigate how effective this is, so just a draft for now. If we decide it does make sense to have a retrying (and possibly also debouncing retries for more failure resilience) http client, we could generalize this.

(copied from 3b040b7 by @bertsky)

@kba kba requested a review from MehmedGIT October 1, 2024 15:54
Copy link
Contributor

@MehmedGIT MehmedGIT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not see any downsides of a retrying HTTP client that would keep us away from it.
The only small disadvantage may be filled logs on the Processing Server side when 500 errors occur, since the server returns these for unexpected errors. The other error codes are reasonable.

Base automatically changed from network_client_block_prints to master October 10, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants