diff --git a/functions/update_apps.sh b/functions/update_apps.sh index 74641ac9..44e78211 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -11,7 +11,7 @@ echo "Asynchronous Updates: $update_limit" # previous 20% 2 min 9 seconds 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 rm trigger &>/dev/null while true @@ -34,7 +34,7 @@ do do update_apps "${array[$it]}" & processes+=($!) - sleep 2 + sleep 1.5 ((it++)) ((proc_count++)) done