Skip to content

feat: add timeout attribute to container_pull - #1960

Merged
alexeagle merged 1 commit into
masterfrom
timeout
Nov 22, 2021
Merged

feat: add timeout attribute to container_pull#1960
alexeagle merged 1 commit into
masterfrom
timeout

Conversation

@alexeagle

Copy link
Copy Markdown
Contributor

The PULLER_TIMEOUT env variable is convenient, but one very large image shouldn't require that all of them have timeouts changed.

@alexeagle

Copy link
Copy Markdown
Contributor Author

/cc @ptarjan

@ptarjan

ptarjan commented Nov 17, 2021

Copy link
Copy Markdown
Contributor

Amazing! Thank you. Is there precident of which should win when both an attribute and environment variable are both specified?

@alexeagle

Copy link
Copy Markdown
Contributor Author

I don't know of a common pattern for this, it seems like the rule attribute should be more specific, but I could also see an argument that the environment is quicker to override than a code change so you'd want the environment variable to take precedence.

@ptarjan

ptarjan commented Nov 17, 2021 via email

Copy link
Copy Markdown
Contributor

The PULLER_TIMEOUT env variable is convenient, but one very large image shouldn't require that all of them have timeouts changed.

@gravypod gravypod left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@alexeagle
alexeagle merged commit 84043cc into master Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants