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.
max.bg.threads
1 parent 44322a7 commit 12a0414Copy full SHA for 12a0414
common/src/main/java/org/embeddedt/modernfix/core/ModernFixMixinPlugin.java
@@ -95,6 +95,10 @@ public void run() {
95
}
96
97
private void computeBetterThreadCount() {
98
+ // Allow user-provided thread count to take precedence
99
+ if (System.getProperty("max.bg.threads") != null) {
100
+ return;
101
+ }
102
// Server thread + client thread + GC thread
103
int reservedCores = 3;
104
int availableBackgroundCores = Math.max(1, Runtime.getRuntime().availableProcessors() - reservedCores);
0 commit comments