Directly set warnAt to minThreads #2464
Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
parent
237d6280c3
commit
6d0ff04dab
|
@ -92,7 +92,7 @@ public class ExecutorThreadPool extends ContainerLifeCycle implements ThreadPool
|
||||||
}
|
}
|
||||||
_executor = executor;
|
_executor = executor;
|
||||||
_executor.setThreadFactory(this::newThread);
|
_executor.setThreadFactory(this::newThread);
|
||||||
_budget = new ThreadPoolBudget(this);
|
_budget = new ThreadPoolBudget(this,minThreads);
|
||||||
_group = group;
|
_group = group;
|
||||||
_minThreads = minThreads;
|
_minThreads = minThreads;
|
||||||
_reservedThreads = reservedThreads;
|
_reservedThreads = reservedThreads;
|
||||||
|
|
Loading…
Reference in New Issue