This commit is contained in:
邹宗楠
2022-12-12 09:41:58 +08:00
parent be84e7c384
commit 9161338c9f
2 changed files with 0 additions and 5 deletions

View File

@@ -261,7 +261,6 @@ func (t *TcpClient) setPrintStatus(key string, status int) {
}
func (t *TcpClient) setPrintStatusTime(key string) {
globals.SugarLogger.Debugf("==========setPrintStatusTime:%s", key)
t.Lock()
defer t.Unlock()
if t.Clients[key] != nil {
@@ -282,7 +281,6 @@ func (t *TcpClient) addMsgChan(printMsg *model.PrintMsg) (err error) {
dataChan := make(chan *model.PrintMsg, 1024)
t.MsgMap[printMsg.PrintNo] = dataChan
}
globals.SugarLogger.Debugf("addMsgChan msgID: %s", printMsg.MsgID)
t.MsgMap[printMsg.PrintNo] <- printMsg
return err
}