Skip to content

Conversation

@mogrogan
Copy link
Contributor

Should now be overridable via the environment variable PACKER_GETTER_READ_TIMEOUT

@mogrogan mogrogan requested a review from a team as a code owner December 18, 2024 22:11
@mogrogan mogrogan force-pushed the stepdownload_timeout_override branch 4 times, most recently from df4c3ee to a695a51 Compare December 23, 2024 21:07
Copy link
Contributor

@lbajolet-hashicorp lbajolet-hashicorp left a comment

Choose a reason for hiding this comment

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

Hey @mogrogan,

Overall LGTM, thanks. I left a few comments on the code, which are more nitpicks/docs changes than anything else. Feel free to let me know how you want to proceed with those, and we might be able to merge this today.


func prepareGetterClient() {
getterReadTimeout := defaultGetterReadTimeout
if env, exists := os.LookupEnv("PACKER_GETTER_READ_TIMEOUT"); exists {
Copy link
Contributor

Choose a reason for hiding this comment

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

Note to myself: we'll need to add that new envvar to the docs somewhere

Should now be overridable via the environment variable
PACKER_GETTER_READ_TIMEOUT
@lbajolet-hashicorp lbajolet-hashicorp merged commit 9657ace into main Jan 20, 2025
9 checks passed
@lbajolet-hashicorp lbajolet-hashicorp deleted the stepdownload_timeout_override branch January 20, 2025 22:13
@lbajolet-hashicorp lbajolet-hashicorp added the enhancement New feature or request label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants