From f629a1f25588cc9afc025fa6ff6f6b553d0cadd6 Mon Sep 17 00:00:00 2001 From: Gorka Date: Tue, 17 Mar 2026 09:43:36 -0300 Subject: [PATCH] fix: set min_machines_running=2 and increase health check grace period - min_machines_running=1 caused the gru machine to auto-stop before passing health checks during bluegreen deploy, failing the rollout - grace_period increased from 15s to 60s to accommodate cross-region cold starts (gru connects to DB in ams) --- fly.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fly.toml b/fly.toml index 2beb049..84364f2 100644 --- a/fly.toml +++ b/fly.toml @@ -55,13 +55,13 @@ primary_region = 'ams' force_https = true auto_stop_machines = 'stop' auto_start_machines = true - min_machines_running = 1 + min_machines_running = 2 processes = ['app'] [[http_service.checks]] interval = "5s" timeout = "3s" - grace_period = "15s" + grace_period = "60s" method = "GET" path = "/api/v1/stellar/auth?account=GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWHF"