This commit is contained in:
Anil Koyuncu
2018-04-04 18:59:14 +02:00
parent 6b7e5b1cb3
commit d0fd259646
@@ -75,7 +75,7 @@ public class TreeWorker extends UntypedActor {
// //
final ExecutorService executor = Executors.newSingleThreadExecutor(); final ExecutorService executor = Executors.newFixedThreadPool(20);
// // schedule the work // // schedule the work
final Future<?> future = executor.submit(new RunnableCompare(name, inputPath, innerPort, new Compare(poolConfig))); final Future<?> future = executor.submit(new RunnableCompare(name, inputPath, innerPort, new Compare(poolConfig)));
try { try {