try 2 for sleep
This commit is contained in:
parent
a3d75393b2
commit
e5e309ecaf
@ -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++))
|
||||||
|
Loading…
Reference in New Issue
Block a user