sleep 1.5 instead of 2
This commit is contained in:
parent
83e7657c37
commit
e21736cb8b
@ -11,7 +11,7 @@ echo "Asynchronous Updates: $update_limit"
|
|||||||
|
|
||||||
# previous 20% 2 min 9 seconds
|
# previous 20% 2 min 9 seconds
|
||||||
it=0
|
it=0
|
||||||
while_status=$(cli -m csv -c 'app chart_release query name,update_available,human_version,human_latest_version,status' 2>/dev/null) > temp.txt
|
while_status=$(cli -m csv -c 'app chart_release query name,update_available,human_version,human_latest_version,status' 2>/dev/null)
|
||||||
echo "$while_status" > temp.txt
|
echo "$while_status" > temp.txt
|
||||||
rm trigger &>/dev/null
|
rm trigger &>/dev/null
|
||||||
while true
|
while true
|
||||||
@ -34,7 +34,7 @@ do
|
|||||||
do
|
do
|
||||||
update_apps "${array[$it]}" &
|
update_apps "${array[$it]}" &
|
||||||
processes+=($!)
|
processes+=($!)
|
||||||
sleep 2
|
sleep 1.5
|
||||||
((it++))
|
((it++))
|
||||||
((proc_count++))
|
((proc_count++))
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user