aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-02-13 03:34:08 +0900
committerOphestra <cat@gensokyo.uk>2026-02-13 03:34:08 +0900
commit4f9f4875d715833ff2556199404575bc022830ca (patch)
treece4a3355d1217a735692efa9ce8280da0bab0d48
parentd49e6544826c533c395e6a1526d672e9ae93ef16 (diff)
internal/rosa/openssl: scale jobs based on cpu count
The hardcoded value of 256 causes test failures due to excessive load on some machines. Twice the cpu count appears to almost saturate all cpus without causing spurious failures. Signed-off-by: Ophestra <cat@gensokyo.uk>
-rw-r--r--internal/rosa/openssl.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/rosa/openssl.go b/internal/rosa/openssl.go
index c218e8a5..df8c4a94 100644
--- a/internal/rosa/openssl.go
+++ b/internal/rosa/openssl.go
@@ -27,7 +27,7 @@ func (t Toolchain) newOpenSSL() pkg.Artifact {
`,
CheckName: "test",
Make: []string{
- "HARNESS_JOBS=256",
+ `HARNESS_JOBS="$(expr "$(nproc)" '*' 2)"`,
},
},
t.Load(Perl),