From 4f903aa13a28daadbabab94827bbea6c56024085 Mon Sep 17 00:00:00 2001 From: benthecarman Date: Tue, 31 Oct 2023 02:59:32 -0500 Subject: [PATCH] Better health check --- fly.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fly.toml b/fly.toml index 4fe153d..a8cfc3f 100644 --- a/fly.toml +++ b/fly.toml @@ -25,9 +25,10 @@ primary_region = "dfw" soft_limit = 200 hard_limit = 250 +# Checks our health endpoint every 5 seconds, starting 5 seconds after the VM starts [[http_service.checks]] - grace_period = "10s" - interval = "30s" + grace_period = "5s" + interval = "5s" method = "GET" timeout = "5s" path = "/health-check"