all repos — website @ e6dd1b5f719ea483f5e77f78c045224607707d0a

My website

re-add health check
Alan Pearce alan@alanpearce.eu
Sun, 23 Jun 2024 20:06:02 +0200
commit

e6dd1b5f719ea483f5e77f78c045224607707d0a

parent

24923a2d99c066031354e11d9a6d5f7363a03f6b

1 files changed, 7 insertions(+), 0 deletions(-)

jump to
M fly.tomlfly.toml
@@ -22,6 +22,13 @@ auto_start_machines = true   min_machines_running = 3
   processes = [ "app" ]
 
+  [[http_service.checks]]
+    grace_period = "15s"
+    interval = "15s"
+    method = "GET"
+    timeout = "1s"
+    path = "/health"
+
   [http_service.concurrency]
     type = "requests"
     soft_limit = 15000