embedded SPDYServer test - save one line of code by setting maxThreads in constructor
This commit is contained in:
parent
0f702624a3
commit
86e8cf7b29
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue