enhance
This commit is contained in:
parent
c131539590
commit
02aa8b6c22
@ -14,7 +14,7 @@ while [[ $it -lt ${#array[@]} ]]
|
|||||||
do
|
do
|
||||||
jobs=$(jobs -p | wc -l)
|
jobs=$(jobs -p | wc -l)
|
||||||
if [[ "$jobs" -ge "$update_limit" ]]; then
|
if [[ "$jobs" -ge "$update_limit" ]]; then
|
||||||
sleep 3
|
sleep 1
|
||||||
else
|
else
|
||||||
update_apps "${array[$it]}" &
|
update_apps "${array[$it]}" &
|
||||||
processes+=($!)
|
processes+=($!)
|
||||||
|
Loading…
Reference in New Issue
Block a user