Channel shouldn't be closed on exceptionCaught. #618

pull/616/head
Nikita 9 years ago
parent 120fd686a2
commit 19726569db

@ -152,12 +152,6 @@ public class ConnectionWatchdog extends ChannelInboundHandlerAdapter {
}
}
@Override
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
ctx.channel().close();
super.exceptionCaught(ctx, cause);
}
private void refresh(RedisConnection connection, Channel channel) {
CommandData<?, ?> commandData = connection.getCurrentCommand();
connection.updateChannel(channel);

Loading…
Cancel
Save