Skip to content

Commit

Permalink
Revert "Change number of threads in Benchmarking threadpool"
Browse files Browse the repository at this point in the history
This reverts commit e3f7596.
  • Loading branch information
jonathanl-bq committed Nov 2, 2023
1 parent e3f7596 commit 49c9119
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public static void testClientSetGet(
concurrentNum, clientCount, tasks.size());
}
long before = System.nanoTime();
ExecutorService threadPool = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors());
ExecutorService threadPool = Executors.newFixedThreadPool(concurrentNum);

// create threads and add them to the async pool.
// This will start execution of all the concurrent tasks.
Expand Down

0 comments on commit 49c9119

Please sign in to comment.