From af3c3b5a31c8168ec0e22f69565f62f8534dcdd5 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fly.toml b/fly.toml index 4fe153d..68605e4 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 10 seconds after the VM starts [[http_service.checks]] grace_period = "10s" - interval = "30s" + interval = "5s" method = "GET" timeout = "5s" path = "/health-check"