|
@@ -128,8 +128,6 @@ public abstract class AbstractTcpMasterBuilder extends AbstractMasterBuilder {
|
|
|
.channel(NioSocketChannel.class)
|
|
|
.handler(getOrCreateChannelInitializer());
|
|
|
bootstrap.option(ChannelOption.SO_KEEPALIVE, false);
|
|
|
- bootstrap.option(ChannelOption.ALLOCATOR, PooledByteBufAllocator.DEFAULT);
|
|
|
- bootstrap.option(ChannelOption.RCVBUF_ALLOCATOR, AdaptiveRecvByteBufAllocator.DEFAULT);
|
|
|
bootstrap.option(ChannelOption.CONNECT_TIMEOUT_MILLIS, 1000);
|
|
|
}
|
|
|
return this.bootstrap;
|