update 打印日志;超时关闭连接

This commit is contained in:
2023-11-16 09:11:58 +08:00
parent b18b338f8d
commit f88aecb6f8
2 changed files with 2 additions and 2 deletions

View File

@@ -181,7 +181,7 @@ public class NettyServerHandler extends ChannelInboundHandlerAdapter {
log.error("Client-IP:【{}】, channelId:【{}】, pileSn:【{}】, ALL_IDLE 总超时", socketString, channelId, pileSn);
}
if (flag) {
// ctx.channel().close();
ctx.channel().close();
// close(channelId, pileSn);
}
}