raise sleep globally
This commit is contained in:
parent
0fefd885e0
commit
1d9ca34227
@ -38,13 +38,13 @@ do
|
|||||||
((ttl++))
|
((ttl++))
|
||||||
if [[ $ttl -eq 1 ]]; then
|
if [[ $ttl -eq 1 ]]; then
|
||||||
sleep 15
|
sleep 15
|
||||||
elif [[ $new_updates -gt 1 ]]; then
|
# elif [[ $new_updates -gt 1 ]]; then
|
||||||
sleep 6
|
# sleep 15
|
||||||
else
|
else
|
||||||
sleep 3
|
sleep 10
|
||||||
fi
|
fi
|
||||||
elif [[ $proc_count != 0 ]]; then # Wait for all processes to finish
|
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
|
else # All processes must be completed, break out of loop
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
@ -104,7 +104,7 @@ if [[ "$diff_app" == "$diff_chart" || "$update_all_apps" == "true" ]]; then #con
|
|||||||
break
|
break
|
||||||
elif [[ "$status" != "STOPPED" ]]; then
|
elif [[ "$status" != "STOPPED" ]]; then
|
||||||
[[ "$verbose" == "true" ]] && echo_array+=("Waiting $((timeout-SECONDS)) more seconds for $app_name to be STOPPED")
|
[[ "$verbose" == "true" ]] && echo_array+=("Waiting $((timeout-SECONDS)) more seconds for $app_name to be STOPPED")
|
||||||
sleep 10
|
sleep 15
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user