try 2 for sleep

This commit is contained in:
Heavybullets8 2022-08-04 20:37:08 -06:00
parent a3d75393b2
commit e5e309ecaf

View File

@ -29,7 +29,7 @@ do
until [[ "$proc_count" -ge "$update_limit" || $it -ge ${#array[@]} ]] until [[ "$proc_count" -ge "$update_limit" || $it -ge ${#array[@]} ]]
do do
update_apps "${array[$it]}" & update_apps "${array[$it]}" &
sleep 1 sleep 2
processes+=($!) processes+=($!)
((it++)) ((it++))
((proc_count++)) ((proc_count++))