From f6d40970188bec8e72cf7c81d6af175f8e73ac2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=80=9D=E6=95=8F?= Date: Thu, 25 Aug 2022 12:05:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=89=80=E6=9C=89=E8=B6=85?= =?UTF-8?q?=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tap.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tap.go b/tap.go index 61c84c8..5291164 100644 --- a/tap.go +++ b/tap.go @@ -55,9 +55,7 @@ func (cli *RPCClient) run() { c := gen.NewFrameServiceClient(cli.conn) - ctx, cancel := context.WithTimeout(context.Background(), time.Second*10) - defer cancel() - stream, err := c.SendFrames(ctx) + stream, err := c.SendFrames(context.Background()) if err != nil { log.Panic(err) }