From 02aa8b6c22eb5ebb911a33f51fa3e495b453a0b3 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Mon, 25 Jul 2022 17:45:35 -0600 Subject: [PATCH] enhance --- functions/update_apps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/update_apps.sh b/functions/update_apps.sh index df93a344..917fbfdf 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -14,7 +14,7 @@ while [[ $it -lt ${#array[@]} ]] do jobs=$(jobs -p | wc -l) if [[ "$jobs" -ge "$update_limit" ]]; then - sleep 3 + sleep 1 else update_apps "${array[$it]}" & processes+=($!)