From e5fd8aa21dbbb79425981b654e1e45fa4f092aa9 Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Sun, 20 Oct 2024 21:37:04 -0600 Subject: [PATCH] Auto suspend --- fly.toml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/fly.toml b/fly.toml index 159b332..c7247fd 100644 --- a/fly.toml +++ b/fly.toml @@ -9,12 +9,12 @@ primary_region = 'sea' [build] [http_service] - internal_port = 3000 - force_https = true - auto_stop_machines = 'stop' - auto_start_machines = true - min_machines_running = 0 - processes = ['app'] +internal_port = 3000 +force_https = true +auto_stop_machines = 'suspend' +auto_start_machines = true +min_machines_running = 0 +processes = ['app'] [[vm]] - size = 'shared-cpu-1x' +size = 'shared-cpu-1x'