From 82129764c975fdc372bb4b3be5b60186930f95e9 Mon Sep 17 00:00:00 2001 From: DasSkelett Date: Fri, 15 Apr 2022 11:11:15 +0200 Subject: [PATCH] Set timeout for InfluxDB HTTP client (#215) --- database/influxdb/database.go | 1 + 1 file changed, 1 insertion(+) diff --git a/database/influxdb/database.go b/database/influxdb/database.go index 25cb132..40d3dc2 100644 --- a/database/influxdb/database.go +++ b/database/influxdb/database.go @@ -70,6 +70,7 @@ func Connect(configuration map[string]interface{}) (database.Connection, error) Username: config.Username(), Password: config.Password(), InsecureSkipVerify: config.InsecureSkipVerify(), + Timeout: batchTimeout, }) if err != nil {