Skip to content

Commit 0ea3c6d

Browse files
committed
create platform ForkJoinPool with asyncMode=true
Signed-off-by: Oleg Mazurov <[email protected]>
1 parent 1f9d599 commit 0ea3c6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/internal/DefaultExecutorFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public ForkJoinPool createForkJoinPool(int parallelism) {
8989
if (parallelism <= 0) {
9090
throw new IllegalArgumentException("parallelism must be greater than 0");
9191
}
92-
return new ForkJoinPool(parallelism, forkJoinWorkerThreadFactory, handler, false);
92+
return new ForkJoinPool(parallelism, forkJoinWorkerThreadFactory, handler, true);
9393
}
9494

9595
@Override

0 commit comments

Comments
 (0)