From 1d65e36b899412a689ab05ae5c292e0f48d76abf Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Tue, 27 Feb 2024 13:57:24 +0000 Subject: [PATCH] ci: increase connection hard limit for fly.io wsproxies (#12319) --- .github/fly-wsproxies/paris-coder.toml | 6 ++++++ .github/fly-wsproxies/sao-paulo-coder.toml | 6 ++++++ .github/fly-wsproxies/sydney-coder.toml | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/.github/fly-wsproxies/paris-coder.toml b/.github/fly-wsproxies/paris-coder.toml index a68ceff07d..c6d515809c 100644 --- a/.github/fly-wsproxies/paris-coder.toml +++ b/.github/fly-wsproxies/paris-coder.toml @@ -22,6 +22,12 @@ primary_region = "cdg" auto_start_machines = true min_machines_running = 0 +# Ref: https://fly.io/docs/reference/configuration/#http_service-concurrency +[http_service.concurrency] + type = "requests" + soft_limit = 50 + hard_limit = 100 + [[vm]] cpu_kind = "shared" cpus = 2 diff --git a/.github/fly-wsproxies/sao-paulo-coder.toml b/.github/fly-wsproxies/sao-paulo-coder.toml index 0866d61af4..b6c9b96463 100644 --- a/.github/fly-wsproxies/sao-paulo-coder.toml +++ b/.github/fly-wsproxies/sao-paulo-coder.toml @@ -22,6 +22,12 @@ primary_region = "gru" auto_start_machines = true min_machines_running = 0 +# Ref: https://fly.io/docs/reference/configuration/#http_service-concurrency +[http_service.concurrency] + type = "requests" + soft_limit = 50 + hard_limit = 100 + [[vm]] cpu_kind = "shared" cpus = 2 diff --git a/.github/fly-wsproxies/sydney-coder.toml b/.github/fly-wsproxies/sydney-coder.toml index b2fd4d8ed5..e3a24b4408 100644 --- a/.github/fly-wsproxies/sydney-coder.toml +++ b/.github/fly-wsproxies/sydney-coder.toml @@ -22,6 +22,12 @@ primary_region = "syd" auto_start_machines = true min_machines_running = 0 +# Ref: https://fly.io/docs/reference/configuration/#http_service-concurrency +[http_service.concurrency] + type = "requests" + soft_limit = 50 + hard_limit = 100 + [[vm]] cpu_kind = "shared" cpus = 2