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

feature: add timeout argument to set timeout on docker-machine calls #86

Merged
merged 2 commits into from
Feb 22, 2018

Conversation

tomwganem
Copy link
Contributor

When using the vpshere driver, docker-machine commands will sometimes exceed the default 10s timeout. This allows users to set that to a higher number. I chose 60s as a default timeout value.

@@ -137,7 +138,7 @@ setPropDefaults()
prop_mount_options="noacl,async"
prop_force_configuration_nfs=false
prop_use_ip_range=false
prop_use_ip=
prop_timeout=60
Copy link
Member

Choose a reason for hiding this comment

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

Wouldn't it be better to not set a default value (thus it would be the default value of docker-machine) ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. I updated the PR to not set the timeout value

@tonivdv tonivdv merged commit e09d819 into adlogix:master Feb 22, 2018
@tonivdv
Copy link
Member

tonivdv commented Feb 22, 2018

Thanks again. Cheers

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