Skip to content

chore: HTTPGetter add default timeout#12203

Merged
joejulian merged 1 commit into
helm:mainfrom
0xff-dev:main
Aug 17, 2023
Merged

chore: HTTPGetter add default timeout#12203
joejulian merged 1 commit into
helm:mainfrom
0xff-dev:main

Conversation

@0xff-dev

@0xff-dev 0xff-dev commented Jul 13, 2023

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
The timeout for http requests should be added when adding or updating a repo. By default there is no timeout limit.

Or Maybe need to add a timeout parameter to repo add and repo update?

Special notes for your reviewer:

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/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 13, 2023
Comment thread pkg/getter/getter.go Outdated

@joejulian joejulian left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for this! I have one small change requested.

@joejulian joejulian added this to the 3.13.0 milestone Aug 11, 2023
@joejulian joejulian self-assigned this Aug 11, 2023
@pull-request-size pull-request-size Bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 11, 2023
Signed-off-by: 0xff-dev <stevenshuang521@gmail.com>

Co-authored-by: bjwswang <bjwswang@gmail.com>
Co-authored-by: Abirdcfly <fp544037857@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants