From 964ae4a5ef240041bc95a8b804ca1f4cb7ca07cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=80=9D=E6=95=8F?= Date: Thu, 1 Sep 2022 15:35:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0TAP=E6=B5=8B=E8=AF=95(TODO=20=E8=A7=A3?= =?UTF-8?q?=E6=9E=90arp)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rpc_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc_client.go b/rpc_client.go index ea4396f..14e4b30 100644 --- a/rpc_client.go +++ b/rpc_client.go @@ -116,7 +116,7 @@ func (cli *RPCClient) run() { Compress(buf, cli.Frames) - if len(cli.Frames) >= 1000 { + if len(cli.Frames) >= 2 { var countbuf = 0 for _, frame := range cli.Frames { countbuf += len(frame)