Skip to content

Commit

Permalink
adjust minimum threads + timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolij committed Nov 6, 2024
1 parent d0dca68 commit 0b44c68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -486,8 +486,8 @@ val smokeTest = tasks.register("smokeTest") {
compressJar.get().outputJar.asFile.get(),
"${project.rootDir}/.gradle/portablemc",
"${project.layout.buildDirectory.get()}/smoke_test",
max(3, Runtime.getRuntime().availableProcessors() / 5),
TimeUnit.SECONDS.toNanos(30),
max(2, Runtime.getRuntime().availableProcessors() / 5),
TimeUnit.SECONDS.toNanos(60),
listOf(
SmokeTest.Config("fabric", "snapshot", dependencies = listOf(
"fabric-api" to "https://github.com/FabricMC/fabric/releases/download/0.107.0%2B1.21.4/fabric-api-0.107.0+1.21.4.jar",
Expand Down

0 comments on commit 0b44c68

Please sign in to comment.