Skip to content

Commit

Permalink
Scale backend (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
avgupta456 authored Nov 30, 2023
1 parent fbfb12e commit 6ac572e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions backend/deploy/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,12 @@ runtime: python311
entrypoint: gunicorn -w 2 -k uvicorn.workers.UvicornWorker src.main:app

#smallest instance class
instance_class: F1
instance_class: F4

#prevents creating additional instances
automatic_scaling:
min_instances: 0
max_instances: 2

#set to minimums
resources:
cpu: 2
memory_gb: 0.5
disk_size_gb: 10
max_instances: 4

env_variables:
PROD: true

1 comment on commit 6ac572e

@vercel
Copy link

@vercel vercel bot commented on 6ac572e Nov 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.