mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-22 22:54:33 +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,
|
||||
Username: r.username,
|
||||
Password: r.password,
|
||||
Timeout: 10 * time.Second,
|
||||
})
|
||||
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue