From c09b5f0d8a518dce38d8960df0f3d45ee8c30d19 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Thu, 22 Jul 2021 10:16:54 +0800 Subject: [PATCH] aa --- business/jxstore/event/event_tcp.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index 0ead43ffd..9b8af7855 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -141,10 +141,6 @@ func ListenTcp() { return } globals.SugarLogger.Debugf("begin listenTcp port 8000......") - go HandleTcpMessages() - go HandleCheckTcpHeart() - go doPrint(printMsgChanFail) - go doPrint2(printMsgChan) for { c, err := l.Accept() if err != nil { @@ -153,6 +149,10 @@ func ListenTcp() { } go handleConn(c) } + go HandleTcpMessages() + go HandleCheckTcpHeart() + go doPrint(printMsgChanFail) + go doPrint2(printMsgChan) } func handleConn(c net.Conn) {