Merge pull request #3368 from cstyan/callum-3353

bump consul HTTP client timeout by 5s
This commit is contained in:
Fabian Reinartz 2017-10-29 10:34:31 +01:00 committed by GitHub
commit d93273c4dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ func NewDiscovery(conf *config.ConsulSDConfig, logger log.Logger) (*Discovery, e
}
wrapper := &http.Client{
Transport: transport,
Timeout: 30 * time.Second,
Timeout: 35 * time.Second,
}
clientConf := &consul.Config{