embedded SPDYServer test - save one line of code by setting maxThreads in constructor

This commit is contained in:
Thomas Becker 2013-07-24 13:12:09 +02:00
parent f4a41efaad
commit 1a6698d43b
1 changed files with 1 additions and 2 deletions

View File

@ -55,8 +55,7 @@ public class SpdyServer
System.setProperty("jetty.home",jetty_home);
// Setup Threadpool
QueuedThreadPool threadPool = new QueuedThreadPool();
threadPool.setMaxThreads(500);
QueuedThreadPool threadPool = new QueuedThreadPool(512);
Server server = new Server(threadPool);
server.manage(threadPool);