embedded SPDYServer test - save one line of code by setting maxThreads in constructor
This commit is contained in:
parent
f4a41efaad
commit
1a6698d43b
|
@ -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