We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6d7c910 + f02b9c1 commit 6647623Copy full SHA for 6647623
1 file changed
src/test/java/com/maxmind/db/MultiThreadedTest.java
@@ -70,7 +70,7 @@ public JsonNode call() throws UnknownHostException, IOException {
70
71
private static void runThreads(Callable<JsonNode> task)
72
throws InterruptedException, ExecutionException {
73
- int threadCount = 1024;
+ int threadCount = 256;
74
List<Callable<JsonNode>> tasks = Collections.nCopies(threadCount, task);
75
ExecutorService executorService = Executors
76
.newFixedThreadPool(threadCount);
0 commit comments