mirror of https://github.com/apache/nifi.git
NIFI-3978 Increase threadpool size for S2S HTTP tests
This closes #1858. Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
This commit is contained in:
parent
5cb928131c
commit
118f4e8cca
|
@ -432,7 +432,7 @@ public class TestHttpClient {
|
||||||
// Create embedded Jetty server
|
// Create embedded Jetty server
|
||||||
// Use less threads to mitigate Gateway Timeout (504) with proxy test
|
// Use less threads to mitigate Gateway Timeout (504) with proxy test
|
||||||
// Minimum thread pool size = (acceptors=2 + selectors=8 + request=1), defaults to max=200
|
// Minimum thread pool size = (acceptors=2 + selectors=8 + request=1), defaults to max=200
|
||||||
final QueuedThreadPool threadPool = new QueuedThreadPool(20);
|
final QueuedThreadPool threadPool = new QueuedThreadPool(50);
|
||||||
server = new Server(threadPool);
|
server = new Server(threadPool);
|
||||||
|
|
||||||
final ContextHandlerCollection handlerCollection = new ContextHandlerCollection();
|
final ContextHandlerCollection handlerCollection = new ContextHandlerCollection();
|
||||||
|
|
Loading…
Reference in New Issue