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

do http retries #510

Merged
merged 1 commit into from
Jun 27, 2024
Merged

do http retries #510

merged 1 commit into from
Jun 27, 2024

Conversation

lionello
Copy link
Member

@lionello lionello commented Jun 27, 2024

Fixes #503

I tried to replace @edwardrf 's "cert" getWithRetries code to use the same client, but that code retries 404s as well, where this client (by default) only retries TCP errors and HTTP 5xx.

@lionello lionello requested a review from edwardrf June 27, 2024 01:25
Copy link
Contributor

@edwardrf edwardrf left a comment

Choose a reason for hiding this comment

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

LGTM

@lionello lionello merged commit 41d1932 into main Jun 27, 2024
5 checks passed
@lionello lionello deleted the lio-http-retries branch June 27, 2024 05:13
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.

Upload to presigned URL could fail due to network err, we should add retry
2 participants