Directly set warnAt to minThreads #2464

Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
Greg Wilkins 2018-04-19 15:38:04 +10:00
parent 237d6280c3
commit 6d0ff04dab
1 changed files with 1 additions and 1 deletions

View File

@ -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;