Fixes #1378 - Slow TLS clients may hang the server.

Reduced the stress of the test
This commit is contained in:
Greg Wilkins 2017-03-09 17:51:58 +11:00
parent 2219863c11
commit f6f86344f3
1 changed files with 2 additions and 2 deletions

View File

@ -59,8 +59,8 @@ public class SlowClientsTest
sslContextFactory.setKeyStorePassword("storepwd");
sslContextFactory.setKeyManagerPassword("keypwd");
int maxThreads = 8;
int contentLength = 32 * 1024 * 1024;
int maxThreads = 6;
int contentLength = 8 * 1024 * 1024;
QueuedThreadPool serverThreads = new QueuedThreadPool(maxThreads);
serverThreads.setDetailedDump(true);
Server server = new Server(serverThreads);