From 4870434673debb6348ddda928168b9e272683a7e Mon Sep 17 00:00:00 2001 From: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com> Date: Thu, 28 Sep 2023 16:48:04 +0400 Subject: [PATCH] Increase health check time limit to allow boot --- .github/workflows/docker-build-push-dockerhub.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-build-push-dockerhub.yml b/.github/workflows/docker-build-push-dockerhub.yml index 18f45c04b..d15e95977 100644 --- a/.github/workflows/docker-build-push-dockerhub.yml +++ b/.github/workflows/docker-build-push-dockerhub.yml @@ -131,7 +131,7 @@ jobs: server_pid=$! - for i in {1..60}; do + for i in {1..600}; do echo "Checking server health ($i/60)..." response=$(curl --silent --fail --write-out "%{http_code}" http://localhost:3000/auth/login) if [[ "$response" == "200" ]]; then