From 96497b4fef014743867b6289f7761408f9e04e89 Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Mon, 5 Feb 2024 18:17:20 +0100 Subject: [PATCH] docker: Run parallel by default [why] When nothing is specified there is only one patcher running instead of number-of-threads patchers. But we want the speedup as default. [how] Use `-j0`, although it has a small bug. We could also use `-j100%` but then the output might confuse people even more? Reported-by: nobk Signed-off-by: Fini Jastrow --- bin/scripts/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/scripts/docker-entrypoint.sh b/bin/scripts/docker-entrypoint.sh index ed38ecde7..e5d0aeb51 100644 --- a/bin/scripts/docker-entrypoint.sh +++ b/bin/scripts/docker-entrypoint.sh @@ -21,7 +21,7 @@ while [ "$#" -gt 0 ]; do done if [ -z "$PN" ]; then - PN=1 + PN=0 fi printf "Running with options:\n%s\nParallelism %s\n" "$args" "$PN"