From 12f3166f515af700e63b3965ad3c7cedcc9899e0 Mon Sep 17 00:00:00 2001 From: Nick Date: Sun, 7 Apr 2019 10:27:47 -0600 Subject: [PATCH] manual scaling --- app.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app.yaml b/app.yaml index 752e8ed..a261578 100644 --- a/app.yaml +++ b/app.yaml @@ -2,16 +2,15 @@ runtime: python runtime_config: python_version: 3 -instance_class: F4_1G +instance_class: B8 entrypoint: gunicorn -t 120 --log-level debug -b :$PORT main:app -env: flex -threadsafe: yes +threadsafe: true -automatic_scaling: - max_concurrent_requests: 1 +manual_scaling: + instances: 4 resources: - cpu: 2 + cpu: 1 memory_gb: 2.0 disk_size_gb: 10