From: Steven Baltakatei Sandoval Date: Wed, 27 Jul 2022 01:48:36 +0000 (+0000) Subject: fix(user/bkots):Only use 25% of available CPUs X-Git-Tag: 0.5.1~8 X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/commitdiff_plain/43952687ac7663771195be94297424d219f18a62?ds=sidebyside;hp=c13b0ce8d1c5a62377c8a4807dd7b6f403bd8e39 fix(user/bkots):Only use 25% of available CPUs --- diff --git a/user/bkots b/user/bkots index 5ffa4f4..baffb08 100755 --- a/user/bkots +++ b/user/bkots @@ -200,7 +200,7 @@ showVersion() { vbm "DEBUG:showVersion function called." cat <<'EOF' -bkots 1.0.2 +bkots 1.0.3 Copyright (C) 2022 Steven Baltakatei Sandoval License GPLv3: GNU GPL version 3 This is free software; you are free to change and redistribute it. @@ -716,7 +716,7 @@ main() { ## Run commands #yell "DEBUG:commands:$(printf "%s\n" "${commands[@]}")"; - printf "%s\n" "${commands[@]}" | parallel --group; + printf "%s\n" "${commands[@]}" | parallel --group --jobs 25%; }; # main program