From 8db536ee71f4d76c98f7aad4bbb9e759288c11f5 Mon Sep 17 00:00:00 2001 From: Sanne Grinovero Date: Tue, 9 Aug 2022 15:46:20 +0100 Subject: [PATCH] Adapt dev-mode as well --- .../java/io/quarkus/vertx/http/runtime/VertxHttpRecorder.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/VertxHttpRecorder.java b/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/VertxHttpRecorder.java index 1b83d98176840d..90a89c45442c24 100644 --- a/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/VertxHttpRecorder.java +++ b/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/VertxHttpRecorder.java @@ -274,8 +274,7 @@ public static void startServerAfterFailedStart() { doServerStart(vertx, buildConfig, config, LaunchMode.DEVELOPMENT, new Supplier() { @Override public Integer get() { - return ProcessorInfo.availableProcessors() - * 2; //this is dev mode, so the number of IO threads not always being 100% correct does not really matter in this case + return ProcessorInfo.availableProcessors(); //this is dev mode, so the number of IO threads not always being 100% correct does not really matter in this case } }, null, false); } catch (Exception e) {