grpc支持健康检查

This commit is contained in:
WeidiDeng 2024-01-27 00:04:11 +08:00 committed by GitHub
parent 9bd70e1366
commit 3051f013f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -256,7 +256,7 @@ func NewHTTP2Client(dialFn DialFn, tlsConfig *tls.Config, Fingerprint string, re
TLSClientConfig: tlsConfig, TLSClientConfig: tlsConfig,
AllowHTTP: false, AllowHTTP: false,
DisableCompression: true, DisableCompression: true,
PingTimeout: 0, ReadIdleTimeout: 15 * time.Second,
} }
return &wrap return &wrap