From 14a366461728f655282df7b582f7442486d469b4 Mon Sep 17 00:00:00 2001 From: Abhijit Gupta Date: Sun, 10 Dec 2023 21:43:04 -0500 Subject: [PATCH] Downsize backend (#275) --- backend/deploy/app.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/deploy/app.yaml b/backend/deploy/app.yaml index 84e0f60..0f26f43 100644 --- a/backend/deploy/app.yaml +++ b/backend/deploy/app.yaml @@ -3,12 +3,12 @@ runtime: python311 entrypoint: gunicorn -w 2 -k uvicorn.workers.UvicornWorker src.main:app #smallest instance class -instance_class: F2 +instance_class: F1 #prevents creating additional instances automatic_scaling: - min_instances: 1 - max_instances: 16 + min_instances: 0 + max_instances: 2 env_variables: PROD: true