From 3051f013f2dcd181b9335f1d66b54da96b5531c9 Mon Sep 17 00:00:00 2001 From: WeidiDeng Date: Sat, 27 Jan 2024 00:04:11 +0800 Subject: [PATCH] =?UTF-8?q?grpc=E6=94=AF=E6=8C=81=E5=81=A5=E5=BA=B7?= =?UTF-8?q?=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- transport/gun/gun.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/gun/gun.go b/transport/gun/gun.go index cf986c8e..e0b73857 100644 --- a/transport/gun/gun.go +++ b/transport/gun/gun.go @@ -256,7 +256,7 @@ func NewHTTP2Client(dialFn DialFn, tlsConfig *tls.Config, Fingerprint string, re TLSClientConfig: tlsConfig, AllowHTTP: false, DisableCompression: true, - PingTimeout: 0, + ReadIdleTimeout: 15 * time.Second, } return &wrap