Set timeout for InfluxDB HTTP client (#215)
This commit is contained in:
parent
710772ca29
commit
82129764c9
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue