This commit is contained in:
邹宗楠
2022-12-30 10:22:22 +08:00
parent 4ee80fafea
commit 47bac8d2d9

View File

@@ -81,7 +81,7 @@ func (t *TcpClient) handleConn(c net.Conn) {
//4、读打印channel并打印并切等待回调channel中的消息
//5、修改数据库中打印机状态没在连接池中说明是重新连接的
//6、监听心跳时间超过1分多钟就clear掉
//globals.SugarLogger.Debugf("handleConn timeout channel...: %v", t.TimeoutMap[printNo])
globals.SugarLogger.Debugf("handleConn timeout channel...: %v", t.TimeoutMap[printNo])
if t.getClients(printNo) == nil {
t.addConn(c, printNo, status)
t.buildAllMap(printNo)