From 56b0774eb50909b657503df3814d7b9a38d7fcfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 29 May 2023 15:26:41 +0800 Subject: [PATCH] 1 --- business/jxstore/event/event_tcp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index 855ca6cc3..2704d85be 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -198,7 +198,7 @@ func (t *TcpClient) HandleTcpMessages(printNo string) { go func() { for { - if t.TimeoutMap[printNo] == true && time.Now().Unix()%3 == 0 { + if t.TimeoutMap[printNo] == true { timeNow := time.Now() timeStart := time.Date(timeNow.Year(), timeNow.Month(), timeNow.Day(), 0, 0, 0, 0, timeNow.Location()) timeEnd := time.Date(timeNow.Year(), timeNow.Month(), timeNow.Day(), 23, 59, 59, 0, timeNow.Location())