mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 02:40:45 +00:00
metrics/influxdb: add a timeout to the InfluxDB HTTP client (#19250)
This commit is contained in:
parent
7608787b3c
commit
1557746bcd
1 changed files with 1 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ func (r *reporter) makeClient() (err error) {
|
||||||
URL: r.url,
|
URL: r.url,
|
||||||
Username: r.username,
|
Username: r.username,
|
||||||
Password: r.password,
|
Password: r.password,
|
||||||
|
Timeout: 10 * time.Second,
|
||||||
})
|
})
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue