We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef16e20 commit cf0a925Copy full SHA for cf0a925
src/main/java/engineering/swat/watch/DaemonThreadPool.java
@@ -49,7 +49,7 @@ public static ExecutorService buildConstrainedCached(String name, int maxThreads
49
if (maxThreads <= 0) {
50
throw new IllegalArgumentException("maxThreads should be higher than 0");
51
}
52
- var pool = new ThreadPoolExecutor(1, maxThreads,
+ var pool = new ThreadPoolExecutor(maxThreads, maxThreads,
53
60, TimeUnit.SECONDS,
54
new LinkedBlockingQueue<>(),
55
buildFactory(name)
0 commit comments