Skip to content

Commit

Permalink
metrics/influxdb: add a timeout to the InfluxDB HTTP client (ethereum…
Browse files Browse the repository at this point in the history
  • Loading branch information
gzliudan authored and JukLee0ira committed Dec 16, 2024
1 parent 928d169 commit c089ffe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metrics/influxdb/influxdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ func (r *reporter) makeClient() (err error) {
URL: r.url,
Username: r.username,
Password: r.password,
Timeout: 10 * time.Second,
})

return
Expand Down

0 comments on commit c089ffe

Please sign in to comment.