Skip to content

Open-source status page, incident response and uptime monitoring

workflows: better sizing (#2968)

Thibault Le Ouay5e167f8d9e4f
diff --git a/apps/workflows/fly.toml b/apps/workflows/fly.toml
index 9e022146d..95f3e9716 100644
--- a/apps/workflows/fly.toml
+++ b/apps/workflows/fly.toml
@@ -17,8 +17,8 @@ kill_signal = "SIGTERM"
[[vm]]
cpu_kind = "shared"
- cpus = 6
- memory_mb = 1536
+ cpus = 4
+ memory_mb = 1024
[http_service]
internal_port = 3000
@@ -28,6 +28,13 @@ kill_signal = "SIGTERM"
min_machines_running = 2
processes = ["app"]
+# Past soft_limit the proxy prefers the other machine, so cdg takes overflow
+# from ams. hard_limit is set high because Fly has no way to disable it.
+[http_service.concurrency]
+ type = "requests"
+ soft_limit = 5
+ hard_limit = 1000
+
[deploy]
strategy = "rolling"