From 7c0f08d86aa9aba3717e9585431c90a7ef1a4dd9 Mon Sep 17 00:00:00 2001 From: Tony Giorgio Date: Tue, 26 Mar 2024 20:10:07 -0500 Subject: [PATCH] Concurrent hermes --- fly.toml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/fly.toml b/fly.toml index 07b2521..3d95062 100644 --- a/fly.toml +++ b/fly.toml @@ -21,10 +21,14 @@ primary_region = 'dfw' [http_service] internal_port = 8080 force_https = true - auto_stop_machines = false - auto_start_machines = false - min_machines_running = 1 + auto_stop_machines = true + auto_start_machines = true + min_machines_running = 2 processes = ['app'] + [http_service.concurrency] + type = "requests" + soft_limit = 200 + hard_limit = 250 [[http_service.checks]] interval = '5s' @@ -37,3 +41,6 @@ primary_region = 'dfw' memory = '1gb' cpu_kind = 'shared' cpus = 1 + +[deploy] + strategy = "canary"