From 3b42067fce69d052d2ba4c82b45394ab1aebc0e0 Mon Sep 17 00:00:00 2001 From: Abhijit Gupta Date: Thu, 30 Nov 2023 19:10:50 -0500 Subject: [PATCH] Update app.yaml --- backend/deploy/app.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/deploy/app.yaml b/backend/deploy/app.yaml index 9a24ced..c554b9b 100644 --- a/backend/deploy/app.yaml +++ b/backend/deploy/app.yaml @@ -1,14 +1,14 @@ service: default runtime: python311 -entrypoint: gunicorn -w 2 -k uvicorn.workers.UvicornWorker src.main:app --timeout 600 --graceful-timeout 600 +entrypoint: gunicorn -w 2 -k uvicorn.workers.UvicornWorker src.main:app #smallest instance class -instance_class: F4 +instance_class: F2 #prevents creating additional instances automatic_scaling: - min_instances: 0 - max_instances: 4 + min_instances: 1 + max_instances: 8 env_variables: PROD: true