删除所有超时

This commit is contained in:
黄思敏 2022-08-25 12:05:24 +08:00
parent 0c64d3e838
commit f6d4097018

4
tap.go
View File

@ -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)
}