优化健康检查连接超时时间

This commit is contained in:
GoEdgeLab
2022-11-26 18:11:35 +08:00
parent 96da3bc6a0
commit 89e0d6bb65

View File

@@ -289,7 +289,7 @@ func (this *HealthCheckExecutor) runNodeOnce(healthCheckConfig *serverconfigs.He
MaxIdleConns: 1,
MaxIdleConnsPerHost: 1,
MaxConnsPerHost: 1,
IdleConnTimeout: 2 * time.Minute,
IdleConnTimeout: 10 * time.Second,
ExpectContinueTimeout: 1 * time.Second,
TLSHandshakeTimeout: 0,
TLSClientConfig: &tls.Config{