Skip to content

Configurable timeout on build(), defaults to None - #139

Merged
shin- merged 2 commits into
docker:masterfrom
aanand:no-timeout-on-build
Jan 14, 2014
Merged

shin- merged 2 commits into
docker:masterfrom
aanand:no-timeout-on-build

Conversation

@aanand

@aanand aanand commented Jan 14, 2014

Copy link
Copy Markdown
Contributor

Many commands used in Dockerfiles hang for an extended period of time without producing any output, which will result in a socket timeout. Accordingly, it makes sense for build() to specify no timeout by default.

Many commands used in Dockerfiles hang for an extended period of time
without producing any output, which will result in a socket timeout.
Accordingly, it makes sense for build() to specify no timeout by
default.
Comment thread docker/client.py Outdated

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.

Can you break it down so lines stay under 80 characters? That would make the flake8 test pass.

@shin-

shin- commented Jan 14, 2014

Copy link
Copy Markdown
Contributor

Thanks for the contribution! Can you make the small fix mentioned above? We can merge it after that.

@aanand

aanand commented Jan 14, 2014

Copy link
Copy Markdown
Contributor Author

Broke it out to one argument per line - that OK?

@shin-

shin- commented Jan 14, 2014

Copy link
Copy Markdown
Contributor

Sure -- thanks!

shin- added a commit that referenced this pull request Jan 14, 2014
Configurable timeout on build(), defaults to None
@shin-
shin- merged commit ebddf04 into docker:master Jan 14, 2014
@aanand
aanand deleted the no-timeout-on-build branch January 16, 2014 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants