From ce7a5331e49d092e6ad231119bee20066ca21eef Mon Sep 17 00:00:00 2001 From: Kyle Lacy Date: Sun, 9 Jun 2024 17:07:08 -0700 Subject: [PATCH] Tweak Fly.io database/HTTP connection limits --- fly.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fly.toml b/fly.toml index f80ffa9..a7a9ab8 100644 --- a/fly.toml +++ b/fly.toml @@ -5,6 +5,7 @@ primary_region = "sea" [env] BRIOCHE_REGISTRY_PROXY_LAYERS = "1" +BRIOCHE_REGISTRY_DATABASE_MAX_CONNECTIONS = "30" LOG_FORMAT = "json" [http_service] @@ -17,8 +18,8 @@ processes = ["app"] [http_service.concurrency] type = "requests" -hard_limit = 1000 -soft_limit = 500 +hard_limit = 500 +soft_limit = 30 [[vm]] memory = "2gb"