app configs: leaning into cargo-culting liveness_check.initial_delay_sec

https://cloud.google.com/appengine/docs/flexible/reference/app-yaml?tab=python#liveness_checks
pull/1187/head
Ryan Barrett 2024-07-15 08:46:35 -07:00
rodzic eea111c733
commit 2176223038
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6BE31FDF4776E9D4
2 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -46,7 +46,7 @@ manual_scaling:
instances: 1
liveness_check:
# default 300; does lowering this speed up deploy? seems like no
# default 300; does lowering this speed up deploy? seems like maybe, a bit?
# https://cloud.google.com/appengine/docs/flexible/reference/app-yaml?tab=python#liveness_checks
initial_delay_sec: 30

Wyświetl plik

@ -35,6 +35,11 @@ env_variables:
manual_scaling:
instances: 1
liveness_check:
# default 300; does lowering this speed up deploy? seems like maybe, a bit?
# https://cloud.google.com/appengine/docs/flexible/reference/app-yaml?tab=python#liveness_checks
initial_delay_sec: 30
# https://cloud.google.com/appengine/docs/flexible/python/runtime#application_startup
# https://docs.gunicorn.org/en/latest/settings.html
# TODO: try asyncio w/eventlet workers