mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 18:27:09 +00:00
Raise slow startup timeout to 3h for large db migrations. (#37061)
This commit is contained in:
parent
255d706c24
commit
a798b508bc
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user