From 841eb8584a6edda0920400d424d6ae544592dff1 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 17 Nov 2022 11:03:39 +0100 Subject: [PATCH] [#740] configure automatic scaling https://cloud.google.com/appengine/docs/legacy/standard/java/config/appref#scaling_elements_automatic_scaling The default max instance is really high and incurring high costs. The default max-concurrent-requests is too low and forcing more instances to spawn. --- .../src/org/akvo/flow/templates/appengine-web.xml.ftl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Config/instanceConfigurator/src/org/akvo/flow/templates/appengine-web.xml.ftl b/Config/instanceConfigurator/src/org/akvo/flow/templates/appengine-web.xml.ftl index 0940d5a746..567a80458c 100644 --- a/Config/instanceConfigurator/src/org/akvo/flow/templates/appengine-web.xml.ftl +++ b/Config/instanceConfigurator/src/org/akvo/flow/templates/appengine-web.xml.ftl @@ -6,6 +6,12 @@ true true legacy + + + 5 + + 50 +