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

Adding Retries into the Helm http getter, for 502/503 status codes. #12976

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rshade
Copy link

@rshade rshade commented Apr 23, 2024

What this PR does / why we need it:
Currently when you get a 502, or 503 on a http get it fails immediately. This PR adds basic retries to it, since 502/503 are usually transient issues. It has a small timeout window so it shouldn't be an inconvenience time wise if the servers stay down longer.

Special notes for your reviewer:
A test not related to my code seems to be panic-ing locally.

If applicable:

  • this PR contains documentation
  • this PR contains unit tests
  • this PR has been tested for backwards compatibility

@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant