mirror of
https://github.com/prometheus/prometheus
synced 2025-03-04 12:38:26 +00:00
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:
parent
94d9a200aa
commit
7776527390
@ -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{
|
||||
|
Loading…
Reference in New Issue
Block a user