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

r/virtual_machine: Increase customization timeout to 10 mins #168

Merged
merged 2 commits into from
Sep 19, 2017

Conversation

vancluever
Copy link
Contributor

Users have been reporting that 5 minutes is probably too short. Indeed,
in our lab it takes about 3 mins to complete (using nested ESXi and
datastores that are on SSDs), so this is definitely reasonable.

Adjusting this to 10 minutes which should hopefully be good for the vast
majority of cases. If need be, we can make this configurable, but then
we are wading into provider timeout territory as well.


Also included in this is the adjustment of defaultAPITimeout to a const, since time.Duration is an int64 and can accommodate this.

Fixes #160

Users have been reporting that 5 minutes is probably too short. Indeed,
in our lab it takes about 3 mins to complete (using nested ESXi and
datastores that are on SSDs), so this is definitely reasonable.

Adjusting this to 10 minutes which should hopefully be good for the vast
majority of cases. If need be, we can make this configurable, but then
we are wading into provider timeout territory as well.
Should have been a const before but I'm guessing I thought it couldn't
be since I was using a type, but time.Duration is an int64, so the
literal ends up being able to be a constant anyway.
@vancluever vancluever merged commit 7c58690 into master Sep 19, 2017
@vancluever vancluever deleted the b-customization-timeout branch September 20, 2017 20:03
@ghost ghost locked and limited conversation to collaborators Apr 19, 2020
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.

Windows 2012 customization does not finish in required by defaultAPITimeout time
2 participants