Skip to content

Commit e1f4729

Browse files
committed
build > halved max parallel test forks
1 parent 8e84478 commit e1f4729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ allprojects {
120120
tasks.test {
121121
useJUnitPlatform()
122122
maxHeapSize = "1g"
123-
maxParallelForks = Runtime.getRuntime().availableProcessors()
123+
maxParallelForks = 1.coerceAtLeast(Runtime.getRuntime().availableProcessors() / 2)
124124
jvmArgs("-XX:+UseParallelGC")
125125
}
126126
}

0 commit comments

Comments
 (0)