Increasing the number of Threads used for I/O operations.
This commit is contained in:
@@ -13,7 +13,7 @@ public class LotroAsyncServer {
|
||||
ChannelFactory factory =
|
||||
new NioServerSocketChannelFactory(
|
||||
Executors.newCachedThreadPool(),
|
||||
Executors.newCachedThreadPool());
|
||||
Executors.newFixedThreadPool(10));
|
||||
|
||||
|
||||
ServerBootstrap bootstrap = new ServerBootstrap(factory);
|
||||
|
||||
Reference in New Issue
Block a user