Skip to content

Commit

Permalink
create platform ForkJoinPool with asyncMode=true
Browse files Browse the repository at this point in the history
Signed-off-by: Oleg Mazurov <[email protected]>
  • Loading branch information
OlegMazurov committed Jun 24, 2024
1 parent 1f9d599 commit 0ea3c6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public ForkJoinPool createForkJoinPool(int parallelism) {
if (parallelism <= 0) {
throw new IllegalArgumentException("parallelism must be greater than 0");
}
return new ForkJoinPool(parallelism, forkJoinWorkerThreadFactory, handler, false);
return new ForkJoinPool(parallelism, forkJoinWorkerThreadFactory, handler, true);
}

@Override
Expand Down

0 comments on commit 0ea3c6d

Please sign in to comment.