diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index 5db637ccc..03111bfd1 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -272,7 +272,7 @@ func (t *TcpClient) HandleCheckTcpHeart(key string) { default: if !utils.IsTimeZero(t.getPrintStatusTime(key)) { //2分钟内没心跳判断打印机掉线了 - if time.Now().Sub(t.getPrintStatusTime(key)) > time.Minute*2 { + if time.Now().Sub(t.getPrintStatusTime(key)) > time.Minute+time.Second*3 { changePrinterStatus(key, printerStatusOffline) if t.isExist(key) { t.clear(key)