diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index 272d575fb..2b2142ae5 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -287,8 +287,8 @@ func (t *TcpClient) HandleCheckTcpHeart(key string) { default: statusTime := t.getPrintStatusTime(key) if !utils.IsTimeZero(statusTime) { - //2分钟内没心跳判断打印机掉线了 - if time.Now().Sub(statusTime) > time.Minute+time.Second*3 { + //1分钟内没心跳判断打印机掉线了 + if time.Now().Sub(statusTime) > time.Minute+time.Second*10 { changePrinterStatus(key, printerStatusOffline) globals.SugarLogger.Debugf("HandleCheckTcpHeart clear...") //t.clear(key)