Set timeout for InfluxDB HTTP client (#215)

This commit is contained in:
DasSkelett 2022-04-15 11:11:15 +02:00 committed by GitHub
parent 710772ca29
commit 82129764c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ func Connect(configuration map[string]interface{}) (database.Connection, error)
Username: config.Username(), Username: config.Username(),
Password: config.Password(), Password: config.Password(),
InsecureSkipVerify: config.InsecureSkipVerify(), InsecureSkipVerify: config.InsecureSkipVerify(),
Timeout: batchTimeout,
}) })
if err != nil { if err != nil {