From 3656870866c186232ba853b33036c4b15f05c3b3 Mon Sep 17 00:00:00 2001 From: rocky Date: Mon, 17 Jul 2023 16:20:46 -0700 Subject: [PATCH] bump num tries before timeout --- cloud/aws/templates/aws_oidc/bin/aws_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud/aws/templates/aws_oidc/bin/aws_cli.py b/cloud/aws/templates/aws_oidc/bin/aws_cli.py index dc395447..9d9009de 100644 --- a/cloud/aws/templates/aws_oidc/bin/aws_cli.py +++ b/cloud/aws/templates/aws_oidc/bin/aws_cli.py @@ -55,13 +55,13 @@ def wait_for_ecs_service_healthy(self): Polls the CiviForm ECS service, waiting for the PRIMARY deployment to have rolloutStatus of COMPLETED. - Gives up after 30 tries, sleeps 30 seconds between each try. + Gives up after 60 tries, sleeps 30 seconds between each try. """ print( "\nWaiting for CiviForm ECS service to become healthy.\n" f"Service URL: {self._get_url_of_ecs_service()}") - tries = 30 + tries = 60 while True: state = self._ecs_service_state() if state == "COMPLETED":