update 心跳包不再打印日志

This commit is contained in:
Lemon
2024-12-24 10:32:09 +08:00
parent 1e8daa2373
commit 330d4b3a99
2 changed files with 20 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ public class NettyServerHandler extends ChannelInboundHandlerAdapter {
*/
private static final ConcurrentHashMap<ChannelId, ChannelHandlerContext> CHANNEL_MAP = new ConcurrentHashMap<>();
private final List<String> notPrintFrameTypeList = Lists.newArrayList(); // "0x03"
private final List<String> notPrintFrameTypeList = Lists.newArrayList("0x03"); // "0x03"
/**
* 有客户端连接服务器会触发此函数