bump consul HTTP client timeout by 5s so it doesn't match up exactly with the consul SD watch timeout

This commit is contained in:
Callum Styan 2017-10-28 16:42:42 -07:00
parent 94d9a200aa
commit 7776527390

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{