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.
1 parent 856d701 commit f02b9c1Copy full SHA for f02b9c1
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