From 0323ba526e6fa6f56e7820162263aef197a2bb15 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Thu, 4 Aug 2022 21:23:50 -0600 Subject: [PATCH] test sleep 3/4 --- 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 85d04f47..ffde4255 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -9,7 +9,7 @@ echo "Asynchronous Updates: $update_limit" [[ -z $timeout ]] && echo "Default Timeout: 500" && timeout=500 || echo "Custom Timeout: $timeout" [[ "$timeout" -le 120 ]] && echo "Warning: Your timeout is set low and may lead to premature rollbacks or skips" - +# previous 20% 2 min 9 seconds it=0 ttl=0 while true @@ -29,7 +29,7 @@ do until [[ "$proc_count" -ge "$update_limit" || $it -ge ${#array[@]} ]] do update_apps "${array[$it]}" & - sleep 4 + sleep 3 processes+=($!) ((it++)) ((proc_count++))