We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4060c6 commit f6e74dfCopy full SHA for f6e74df
src/main/java/com/github/netty/StartupServer.java
@@ -162,7 +162,7 @@ protected void config(ServerBootstrap bootstrap) throws Exception {
162
long maxDirectMemory = -1;
163
System.setProperty("io.netty.maxDirectMemory", String.valueOf(maxDirectMemory));
164
}
165
- bootstrap.childOption(ChannelOption.WRITE_SPIN_COUNT, Integer.MAX_VALUE);
+// bootstrap.childOption(ChannelOption.WRITE_SPIN_COUNT, Integer.MAX_VALUE);
166
bootstrap.childOption(ChannelOption.WRITE_BUFFER_WATER_MARK, new WriteBufferWaterMark(32 * 1024, Integer.MAX_VALUE));
167
bootstrap.childOption(ChannelOption.AUTO_CLOSE, true);
168
0 commit comments