From 341afec0b741398818329056684698e2868a296d Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Tue, 29 Jun 2021 09:13:43 +0800 Subject: [PATCH] aa --- business/jxstore/event/event_tcp.go | 1 + main.go | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index 37875911b..03775ef18 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -56,6 +56,7 @@ func ListenTcp() { return } globals.SugarLogger.Debugf("begin listenTcp port 8000......") + go HandleTcpMessages() for { c, err := l.Accept() if err != nil { diff --git a/main.go b/main.go index d4e018176..bd1bc089b 100644 --- a/main.go +++ b/main.go @@ -130,7 +130,6 @@ func main() { }() if globals.IsPrintEnv() { event.ListenTcp() - go event.HandleTcpMessages() } beego.Run() }