Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

feat: add timeout attribute to container_pull #1960

Merged
merged 1 commit into from Nov 22, 2021
Merged

feat: add timeout attribute to container_pull #1960

merged 1 commit into from Nov 22, 2021

Conversation

alexeagle
Copy link
Collaborator

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
Collaborator Author

/cc @ptarjan

@ptarjan
Copy link
Contributor

ptarjan commented Nov 17, 2021

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

@alexeagle
Copy link
Collaborator 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
Copy link
Contributor

ptarjan commented Nov 17, 2021 via email

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

@gravypod gravypod left a comment

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants