From dae0d3836467c423f2cbd2905be79a6d8a1ee788 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Mon, 2 Aug 2021 15:22:32 +0800 Subject: [PATCH] aa --- 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 539bc3fe5..af398e0fb 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -223,7 +223,7 @@ func (t *TcpClient) HandleCheckTcpHeart(key string) { go func() { for { if !utils.IsTimeZero(t.getPrintStatusTime(key)) { - if time.Now().Sub(t.getPrintStatusTime(key)) > time.Minute+time.Second*2 { + if time.Now().Sub(t.getPrintStatusTime(key)) > time.Minute+time.Second*30 { changePrinterStatus(key, printerStatusOffline) if t.isExist(key) { globals.SugarLogger.Debugf("HandleCheckTcpHeart del key,%v", key)