diff options
author | Alan Pearce | 2024-04-10 11:33:01 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-10 11:33:01 +0200 |
commit | 8beec515146fc8cc323d9de722a405372801e1df (patch) | |
tree | 9af1125471e312f4d3ae0e1026fd2018d7edabc8 /fly.toml | |
parent | 8de5eac6f52beba26d3ce6b5406dcf4ac35da641 (diff) | |
download | website-8beec515146fc8cc323d9de722a405372801e1df.tar.lz website-8beec515146fc8cc323d9de722a405372801e1df.tar.zst website-8beec515146fc8cc323d9de722a405372801e1df.zip |
fly: stop running in secondary regions if no meaningful requests
Diffstat (limited to 'fly.toml')
-rw-r--r-- | fly.toml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fly.toml b/fly.toml index 77017b1..d04e736 100644 --- a/fly.toml +++ b/fly.toml @@ -15,9 +15,9 @@ primary_region = "ams" [http_service] internal_port = 3000 force_https = true - auto_stop_machines = false + auto_stop_machines = true auto_start_machines = true - min_machines_running = 3 + min_machines_running = 1 processes = ["app"] [http_service.http_options.response.headers] Strict-Transport-Security = "max-age=31536000; includeSubdomains; preload" |