Skip to content
This repository has been archived by the owner on Mar 23, 2019. It is now read-only.

Improved client timeout #318

Merged
merged 1 commit into from
Nov 19, 2016
Merged

Conversation

chouseknecht
Copy link
Contributor

@chouseknecht chouseknecht commented Nov 19, 2016

ISSUE TYPE
  • Bugfix Pull Request
SUMMARY

Refining fix for #147.
Addresses issue raised on #315

  • Adds support for COMPOSE_HTTP_TIMEOUT, as it appears compose is deprecating support for DOCKER_CLIENT_TIMEOUT
  • Casts value received from either COMPOSE_HTTP_TIMEOUT or DOCKER_CLIENT_TIMEOUT to int
  • Gracefully handles errors arising from a non-integer value

- If DOCKER_CLIENT_TIMEOUT not set, check COMPOSE_HTTP_TIMEOUT
- DOCKER_CLIENT_TIMEOUT is deprecated by compose
- Cast timeout value to int, and gracefully handle ValueError
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant