From e44a4d854e9be804e34bae3ce7ee02288cdb3f85 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Mon, 2 Aug 2021 17:33:01 +0800 Subject: [PATCH] aa --- business/jxstore/event/event_tcp.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index 80e7717dd..6d65a23fa 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -167,6 +167,7 @@ func (t *TcpClient) HandleTcpMessages(printNo string) { for { select { case <-timeoutChan: + globals.SugarLogger.Debugf("HandleTcpMessages timeout") return default: //一直读? @@ -195,6 +196,7 @@ func (t *TcpClient) doPrint(key string) (err error) { for { select { case <-timeoutChan: + globals.SugarLogger.Debugf("doPrint timeout") return default: printMsg, ok := <-t.MsgMap[key] @@ -269,6 +271,7 @@ func (t *TcpClient) HandleCheckTcpHeart(key string) { for { select { case <-timeoutChan: + globals.SugarLogger.Debugf("HandleCheckTcpHeart timeout") return default: if !utils.IsTimeZero(t.getPrintStatusTime(key)) {