From 07d6a7cf507f9e557f33894a936f3c7821fea32b Mon Sep 17 00:00:00 2001 From: Samuel Arogbonlo <47984109+samuelarogbonlo@users.noreply.github.com> Date: Thu, 5 Oct 2023 13:06:52 +0100 Subject: [PATCH] fix: bump apt-get timeout from 30s to 90s for sync check (#300) Signed-off-by: samuelarogbonlo --- terraform/modules/sync_check/service/init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/modules/sync_check/service/init.sh b/terraform/modules/sync_check/service/init.sh index b4c2114de..80f8fd86c 100755 --- a/terraform/modules/sync_check/service/init.sh +++ b/terraform/modules/sync_check/service/init.sh @@ -7,8 +7,8 @@ set -eux export DEBIAN_FRONTEND=noninteractive # Use APT specific mechanism to wait for the lock -apt-get -qqq --yes -o DPkg::Lock::Timeout=30 update -apt-get -qqq --yes -o DPkg::Lock::Timeout=30 install -y ruby ruby-dev gcc make +apt-get -qqq --yes -o DPkg::Lock::Timeout=90 update +apt-get -qqq --yes -o DPkg::Lock::Timeout=90 install -y ruby ruby-dev gcc make gem install slack-ruby-client sys-filesystem