From fcd07cfa4fa4882745b2219f57cad7c4380d48f1 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Wed, 10 Aug 2022 11:53:24 -0600 Subject: [PATCH] slightly lower commander sleep timer --- functions/update_apps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/update_apps.sh b/functions/update_apps.sh index dec7a1fc..74641ac9 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -28,7 +28,7 @@ do ((count++)) done if [[ "$proc_count" -ge "$update_limit" ]]; then - sleep 6 + sleep 4 elif [[ $it -lt ${#array[@]} ]]; then until [[ "$proc_count" -ge "$update_limit" || $it -ge ${#array[@]} ]] do @@ -39,7 +39,7 @@ do ((proc_count++)) done elif [[ $proc_count != 0 ]]; then # Wait for all processes to finish - sleep 6 + sleep 4 else # All processes must be completed, break out of loop break fi