From 71dca98533faf4c21bb9b361ee48cdd4397256c0 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Mon, 25 Jul 2022 15:21:26 -0600 Subject: [PATCH] update limit --- functions/update_apps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/update_apps.sh b/functions/update_apps.sh index 6ff12b6f..e0b813ba 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -6,7 +6,7 @@ mapfile -t array < <(cli -m csv -c 'app chart_release query name,update_availabl [[ -z $array ]] && echo -e "\nThere are no updates available" && return 0 || echo -e "\n${#array[@]} update(s) available" [[ -z $timeout ]] && echo -e "\nDefault Timeout: 500" && timeout=500 || echo -e "\nCustom Timeout: $timeout" [[ "$timeout" -le 120 ]] && echo "Warning: Your timeout is set low and may lead to premature rollbacks or skips" -update_limit=2 +update_limit=4 it=0 while [[ $it -lt ${#array[@]} ]]