From dd5c67d92d4ef8a874c2b00710beb5c94e1d4e24 Mon Sep 17 00:00:00 2001 From: cal-nic Date: Fri, 15 Mar 2024 09:20:35 +0000 Subject: [PATCH] add auto scaling --- appengine_templates/app.yaml.tpl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/appengine_templates/app.yaml.tpl b/appengine_templates/app.yaml.tpl index 296aedb..570bdfa 100644 --- a/appengine_templates/app.yaml.tpl +++ b/appengine_templates/app.yaml.tpl @@ -12,9 +12,10 @@ env_variables: BIMS_API_URL: _BIMS_API_URL BIMS_CLIENT_ID: _BIMS_CLIENT_ID -basic_scaling: - idle_timeout: 60s - max_instances: 10 +automatic_scaling: + min_instances: _MAX_INSTANCES + max_instances: _MAX_INSTANCES + target_cpu_utilization: _TARGET_CPU_UTILIZATION handlers: - url: /.*