Enhance: Prolong the timeout of chartclient

In some perspectives to reduce the too many charts performence issue

Signed-off-by: DQ <dengq@vmware.com>
This commit is contained in:
DQ 2020-07-27 12:06:24 +08:00
parent 7cca4315fa
commit 79b73f094c

View File

@ -14,7 +14,7 @@ import (
) )
const ( const (
clientTimeout = 10 * time.Second clientTimeout = 30 * time.Second
maxIdleConnections = 10 maxIdleConnections = 10
idleConnectionTimeout = 30 * time.Second idleConnectionTimeout = 30 * time.Second
) )