From 6d0ff04dabe39400a8f611e4c82cac7a33e34b7a Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Thu, 19 Apr 2018 15:38:04 +1000 Subject: [PATCH] Directly set warnAt to minThreads #2464 Signed-off-by: Greg Wilkins --- .../java/org/eclipse/jetty/util/thread/ExecutorThreadPool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ExecutorThreadPool.java b/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ExecutorThreadPool.java index fb95092a2ef..4ff9d580e85 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ExecutorThreadPool.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ExecutorThreadPool.java @@ -92,7 +92,7 @@ public class ExecutorThreadPool extends ContainerLifeCycle implements ThreadPool } _executor = executor; _executor.setThreadFactory(this::newThread); - _budget = new ThreadPoolBudget(this); + _budget = new ThreadPoolBudget(this,minThreads); _group = group; _minThreads = minThreads; _reservedThreads = reservedThreads;