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

Reduce WAN check timeout #6290

Merged
merged 2 commits into from
Sep 12, 2017
Merged

Reduce WAN check timeout #6290

merged 2 commits into from
Sep 12, 2017

Conversation

gigawhitlocks
Copy link
Contributor

Reduce the WAN check in vicadmin timeout to 5 seconds so that the page will load quickly regardless of whether or not the VCH has extranet access.

@@ -186,7 +187,7 @@ func NewValidator(ctx context.Context, vch *config.VirtualContainerHostConfigSpe
nwErrors := []error{}

// create a http client with a custom transport using the proxy from env vars
client := &http.Client{Timeout: 30 * time.Second}
client := &http.Client{Timeout: 10 * time.Second}
Copy link
Contributor

Choose a reason for hiding this comment

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

So 10 sec or 5 sec? I thought you wanted to reduce the timeout to 5 sec

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Talked with @hmahmood and settled on 10, @chengwang86

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, didn't update the original description after the first commit ;P

@gigawhitlocks gigawhitlocks merged commit ae1a3cd into vmware:master Sep 12, 2017
mhagen-vmware pushed a commit that referenced this pull request Sep 13, 2017
AngieCris pushed a commit to AngieCris/vic that referenced this pull request Nov 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants