From fc67ccba758a337e9594e996f5256d1b854ccb36 Mon Sep 17 00:00:00 2001 From: Laszlo Zeke Date: Fri, 4 Sep 2020 14:14:01 +0200 Subject: [PATCH] Disable autoscaling in GCP config GAE regularly keeps an idle instance alive just in case but that seems to count towards the instance hours quota. Disable that to avoid being instanceless for a few hours a day. --- TwitchRSS/app.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/TwitchRSS/app.yaml b/TwitchRSS/app.yaml index 14c59dd..0ab508f 100644 --- a/TwitchRSS/app.yaml +++ b/TwitchRSS/app.yaml @@ -7,4 +7,9 @@ handlers: upload: favicon\.ico - url: /.* - script: twitchrss.app \ No newline at end of file + script: twitchrss.app + +automatic_scaling: + max_instances: 1 + max_idle_instances: 1 +