From fe25f60b5d9dfbbaa2365d94400935a2c7aa13d0 Mon Sep 17 00:00:00 2001 From: "dc.To" Date: Thu, 10 Jul 2025 11:02:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=B6=85=E6=97=B6=E9=93=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chain/clientchain.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/chain/clientchain.go b/chain/clientchain.go index d0dba45..5322d56 100644 --- a/chain/clientchain.go +++ b/chain/clientchain.go @@ -18,8 +18,6 @@ import ( * @version 20250409 */ func ClientTimeoutInvokerChain(ctx context.Context, method string, req, res interface{}, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error { - ctx, cancel := context.WithTimeout(ctx, 5*time.Second) - defer cancel() return invoker(ctx, method, req, res, cc, opts...) }