From e38d94c2538998967bb878e334b02a00eeb3905a Mon Sep 17 00:00:00 2001
From: Ole Langbehn <ole.langbehn@inoio.de>
Date: Sat, 3 Aug 2024 23:08:20 +0200
Subject: [PATCH] number cpus can overwhelm gitlab, use fixed number of 8

---
 helpers/forall-git | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helpers/forall-git b/helpers/forall-git
index 23b48b7..611d53e 100755
--- a/helpers/forall-git
+++ b/helpers/forall-git
@@ -9,7 +9,7 @@ NC='\033[m'
 
 if which parallel >/dev/null; then
 
-  find -L . -maxdepth 3 -name .git -type d | parallel -j $(nproc --all) "cd {//}; echo -ne '$COLOR'; pwd; echo -ne '$NC'; $@"
+  find -L . -maxdepth 3 -name .git -type d | parallel -j 8 "cd {//}; echo -ne '$COLOR'; pwd; echo -ne '$NC'; $@"
 
 else
 
-- 
GitLab