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