From a0533dd6b55c5a11a4a653937c136c6052a396d1 Mon Sep 17 00:00:00 2001 From: William Wernert Date: Mon, 28 Dec 2020 14:17:27 -0500 Subject: [PATCH] [feat] Increase retry_count, decrease wait time, change wording --- salt/common/tools/sbin/so-common | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/salt/common/tools/sbin/so-common b/salt/common/tools/sbin/so-common index af254790a..7dd2e89ce 100755 --- a/salt/common/tools/sbin/so-common +++ b/salt/common/tools/sbin/so-common @@ -144,10 +144,10 @@ get_random_value() { wait_for_apt() { local progress_callback=$1 - local retry_count=2 - local retry_timeout='30s' - local lock_msg='Could not acquire dpkg lock, is another process using it?' - local retry_msg="Waiting $retry_timeout for dpkg lock to release." + local retry_count=30 + local retry_timeout='10s' + local lock_msg='Could not acquire lock.' + local retry_msg="Waiting $retry_timeout for lock to release." if [ -z "$progress_callback" ]; then if [ -z "$progress_bar_text" ]; then local old_text="Installing..."