forked from security/hakurei
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>
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user