aa
This commit is contained in:
@@ -274,8 +274,8 @@ func (t *TcpClient) HandleCheckTcpHeart(key string) {
|
||||
if time.Now().Sub(t.getPrintStatusTime(key)) > time.Minute+time.Second*3 {
|
||||
changePrinterStatus(key, printerStatusOffline)
|
||||
if t.isExist(key) {
|
||||
t.clear(key)
|
||||
globals.SugarLogger.Debugf("HandleCheckTcpHeart clear...")
|
||||
t.clear(key)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user