Skip to content

Commit

Permalink
Update MultithreadedTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
bgprudhomme authored Aug 26, 2024
1 parent 54f938d commit f9986e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ private void parallelTest(List<List<Transaction>> list, IsolationLevels isolatio

Random r = new Random(52465534);

ExecutorService executorService = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors() * 2);
ExecutorService executorService = Executors.newVirtualThreadPerTaskExecutor();

try {
for (int i = 0; i < 3; i++) {
Expand Down

0 comments on commit f9986e6

Please sign in to comment.