From 715939217f72aaf2be188091cb587f6c8942b13f Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Thu, 9 May 2019 16:27:00 +0200 Subject: [PATCH] Fixed reserved thread default Signed-off-by: Greg Wilkins --- .../java/org/eclipse/jetty/util/thread/QueuedThreadPool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/thread/QueuedThreadPool.java b/jetty-util/src/main/java/org/eclipse/jetty/util/thread/QueuedThreadPool.java index 914876d24f7..ab552fd0d77 100755 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/thread/QueuedThreadPool.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/thread/QueuedThreadPool.java @@ -142,7 +142,7 @@ public class QueuedThreadPool extends ContainerLifeCycle implements SizedThreadP @Override protected void doStart() throws Exception { - if (_reservedThreads<=0) + if (_reservedThreads==0) _tryExecutor = NO_TRY; else {