test sleep 3/4

This commit is contained in:
Heavybullets8 2022-08-04 21:23:50 -06:00
parent fdcf899d56
commit 0323ba526e

View File

@ -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++))