Skip to content

Commit

Permalink
change channel writable to debug avoid to disk full (apache#240)
Browse files Browse the repository at this point in the history
to fix apache#239
  • Loading branch information
dockerzhang authored Nov 24, 2020
1 parent 6c3ca75 commit 996486f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public void channelWritabilityChanged(ChannelHandlerContext ctx) throws Exceptio
// set auto read to true if channel is writable.
ctx.channel().config().setAutoRead(true);
} else {
log.warn("channel is not writable, disable auto reading for back pressing");
log.debug("channel is not writable, disable auto reading for back pressing");
ctx.channel().config().setAutoRead(false);
ctx.flush();
}
Expand Down

0 comments on commit 996486f

Please sign in to comment.