Raise slow startup timeout to 3h for large db migrations. (#37061)

This commit is contained in:
J. Nick Koston
2020-06-24 11:58:01 -05:00
committed by GitHub
parent 255d706c24
commit a798b508bc

View File

@@ -22,9 +22,11 @@ DATA_SETUP = "setup_tasks"
DATA_DEPS_REQS = "deps_reqs_processed" DATA_DEPS_REQS = "deps_reqs_processed"
SLOW_SETUP_WARNING = 10 SLOW_SETUP_WARNING = 10
# Since a pip install can run, we wait
# 30 minutes to timeout # Since its possible for databases to be
SLOW_SETUP_MAX_WAIT = 1800 # upwards of 36GiB (or larger) in the wild
# we wait up to 3 hours for startup
SLOW_SETUP_MAX_WAIT = 10800
@core.callback @core.callback