perf[idle]: code layout

This commit is contained in:
sun
2023-08-23 10:46:28 +08:00
parent a68f323933
commit 59cf26efd0
@@ -37,8 +37,8 @@ public class ServerIdleHandler extends ChannelDuplexHandler {
IdleStateEvent event = (IdleStateEvent) evt;
if (event.state() == IdleState.ALL_IDLE) {
logger.warn("channel is time out for close {}", SessionUtils.sessionSimpleInfo(ctx));
ctx.close();
}
ctx.close();
}
}
}