Directly set warnAt to minThreads #2464

Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
Greg Wilkins 2018-04-20 08:10:20 +10:00
parent 9c1cd15e6f
commit 11854f502c
1 changed files with 1 additions and 1 deletions

View File

@ -92,10 +92,10 @@ public class ExecutorThreadPool extends ContainerLifeCycle implements ThreadPool
}
_executor = executor;
_executor.setThreadFactory(this::newThread);
_budget = new ThreadPoolBudget(this,minThreads);
_group = group;
_minThreads = minThreads;
_reservedThreads = reservedThreads;
_budget = new ThreadPoolBudget(this,minThreads);
}
/**