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

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
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
Contributor 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
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
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 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