1
0
mirror of https://github.com/golang/go synced 2024-11-18 09:04:49 -07:00

cmd/tip: manually scale talks to 1 instance

Disable health checker - it only causes trouble if we're running on one
instance. We'd rather see "starting up" than to have nothing served and
the instance killed when it doesn't come up ready in time.

Change-Id: I3396c626f840d606e0fb4a5ec4c0493195fd015f
Reviewed-on: https://go-review.googlesource.com/45654
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Chris Broadfoot 2017-06-13 15:58:32 -07:00
parent aca8b28035
commit b4e0c5ecfb

View File

@ -1,18 +1,12 @@
module: talks
service: talks
runtime: custom
vm: true
env: flex
automatic_scaling:
min_num_instances: 1
max_num_instances: 5
manual_scaling:
instances: 1
env_variables:
TIP_BUILDER: 'talks'
health_check:
enable_health_check: True
check_interval_sec: 5
timeout_sec: 4
unhealthy_threshold: 2
healthy_threshold: 2
restart_threshold: 240
enable_health_check: False