Apache Lucene open-source search software
change generate-defaults.gradle not to cap testsJvms at 4
Robert Muir4d61e4aaabd1
diff --git a/gradle/generate-defaults.gradle b/gradle/generate-defaults.gradleindex 92bd1ed7367..57b710a7be0 100644--- a/gradle/generate-defaults.gradle+++ b/gradle/generate-defaults.gradle@@ -13,11 +13,11 @@ def hasDefaults = rootProject.file("gradle.properties").exists()if (!hasDefaults) {configure(rootProject) {task setupLocalDefaultsOnce(type: GradleBuild) {- // Approximate a common-sense default for running gradle with parallel+ // Approximate a common-sense default for running gradle/tests with parallel// workers: half the count of available cpus but not more than 12.def cpus = Runtime.runtime.availableProcessors()def maxWorkers = (int) Math.max(1d, Math.min(cpus * 0.5d, 12))- def testsJvms = (int) Math.max(1d, Math.min(cpus * 0.5d, 4))+ def testsJvms = (int) Math.max(1d, Math.min(cpus * 0.5d, 12))// Reuse the same set of parameters for the recursive invocation and apply// some of these eagerly.@@ -71,4 +71,4 @@ if (!hasDefaults) {}}}-}\ No newline at end of file+}