From d8a223e36036cc385e1c4fe076277e2a2ec2581a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 16 Dec 2022 11:20:05 +0800 Subject: [PATCH] 1 --- business/jxstore/event/event_tcp_utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/event/event_tcp_utils.go b/business/jxstore/event/event_tcp_utils.go index f4da0037a..0ee7605a6 100644 --- a/business/jxstore/event/event_tcp_utils.go +++ b/business/jxstore/event/event_tcp_utils.go @@ -186,7 +186,7 @@ func (t *TcpClient) buildAllMap(key string) { defer t.Unlock() t.MsgMap[key] = make(chan *model.PrintMsg, 1024) t.CallBackMap[key] = make(chan string, 1024) - t.TimeoutMap[key] = make(chan bool) + t.TimeoutMap[key] = make(chan bool, 64) } func (t *TcpClient) getPrintStatus(key string) int {