We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60b306d commit 5102a3bCopy full SHA for 5102a3b
src/test/java/com/mapcode/ReferenceFileTest.java
@@ -101,7 +101,7 @@ private static void checkFile(
101
final AtomicInteger errors = new AtomicInteger(0);
102
final AtomicInteger tasks = new AtomicInteger(0);
103
104
- final int threads = Math.min(1, Runtime.getRuntime().availableProcessors() * 2);
+ final int threads = Math.min(8, Runtime.getRuntime().availableProcessors() * 2);
105
LOG.info("checkFile: Starting {} threads...", threads);
106
final ExecutorService executor = Executors.newFixedThreadPool(threads);
107
0 commit comments