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 committed Aug 10, 2022
1 parent ee725fb commit 9bf91d3
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 9bf91d3

Please sign in to comment.