Increasing the number of Threads used for I/O operations.

This commit is contained in:
marcins78@gmail.com
2013-01-12 00:07:03 +00:00
parent 20ab4e78ef
commit c22a7de1f3

View File

@@ -13,7 +13,7 @@ public class LotroAsyncServer {
ChannelFactory factory =
new NioServerSocketChannelFactory(
Executors.newCachedThreadPool(),
Executors.newCachedThreadPool());
Executors.newFixedThreadPool(10));
ServerBootstrap bootstrap = new ServerBootstrap(factory);