Reduce stable jobs (#10344) (#10347)

automerge
This commit is contained in:
mergify[bot]
2020-05-31 22:49:56 -07:00
committed by GitHub
parent 5a91db6e62
commit 29ff1b925d

View File

@ -39,9 +39,9 @@ test -d target/release/bpf && find target/release/bpf -name '*.d' -delete
rm -rf target/xargo # Issue #3105
# Limit compiler jobs to reduce memory usage
# on machines with 1gb/thread of memory
# on machines with 2gb/thread of memory
NPROC=$(nproc)
NPROC=$((NPROC>16 ? 16 : NPROC))
NPROC=$((NPROC>14 ? 14 : NPROC))
echo "Executing $testName"
case $testName in