Skip to content

Commit

Permalink
Adapt dev-mode as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanne authored and fercomunello committed Aug 31, 2022
1 parent b424292 commit 18e4cd0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,7 @@ public static void startServerAfterFailedStart() {
doServerStart(vertx, buildConfig, config, LaunchMode.DEVELOPMENT, new Supplier<Integer>() {
@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) {
Expand Down

0 comments on commit 18e4cd0

Please sign in to comment.