Skip to content

Commit

Permalink
add auto scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
cal-nic committed Mar 15, 2024
1 parent 88a5b2d commit dd5c67d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions appengine_templates/app.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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: /.*
Expand Down

0 comments on commit dd5c67d

Please sign in to comment.