From 1d9ca34227057b36abd575c4a0e25ba825c67171 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Thu, 4 Aug 2022 20:08:57 -0600 Subject: [PATCH] raise sleep globally --- functions/update_apps.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/functions/update_apps.sh b/functions/update_apps.sh index 2e1394d5..c9773bbb 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -38,13 +38,13 @@ do ((ttl++)) if [[ $ttl -eq 1 ]]; then sleep 15 - elif [[ $new_updates -gt 1 ]]; then - sleep 6 + # elif [[ $new_updates -gt 1 ]]; then + # sleep 15 else - sleep 3 + sleep 10 fi elif [[ $proc_count != 0 ]]; then # Wait for all processes to finish - sleep 3 + sleep 10 else # All processes must be completed, break out of loop break fi @@ -104,7 +104,7 @@ if [[ "$diff_app" == "$diff_chart" || "$update_all_apps" == "true" ]]; then #con break elif [[ "$status" != "STOPPED" ]]; then [[ "$verbose" == "true" ]] && echo_array+=("Waiting $((timeout-SECONDS)) more seconds for $app_name to be STOPPED") - sleep 10 + sleep 15 fi done fi