mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-08-15 18:24:52 +00:00
perf[module]: Router发送消息增加高低水位判断 暂时改为warn
This commit is contained in:
@@ -174,8 +174,7 @@ public class Router implements IRouter {
|
||||
|
||||
var channel = session.getChannel();
|
||||
if (!channel.isActive() || !channel.isWritable()) {
|
||||
logger.error("send msg error, protocolId=[{}] isActive=[{}] isWritable=[{}]", packet.protocolId(), channel.isActive(), channel.isWritable());
|
||||
return;
|
||||
logger.warn("send msg error, protocolId=[{}] isActive=[{}] isWritable=[{}]", packet.protocolId(), channel.isActive(), channel.isWritable());
|
||||
}
|
||||
channel.writeAndFlush(packetInfo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user