From 4f9f4875d715833ff2556199404575bc022830ca Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 13 Feb 2026 03:34:08 +0900 Subject: [PATCH] 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 --- internal/rosa/openssl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/rosa/openssl.go b/internal/rosa/openssl.go index c218e8a..df8c4a9 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),