Increases core container timeout to match core shutdown time (#2417)

Align the core container timeout with what the core container
uses as grace period.
This commit is contained in:
Stefan Agner 2021-01-11 11:24:54 +01:00 committed by GitHub
parent bd173fa333
commit d53f5e21f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,9 @@ class DockerHomeAssistant(DockerInterface):
@property @property
def timeout(self) -> int: def timeout(self) -> int:
"""Return timeout for Docker actions.""" """Return timeout for Docker actions."""
return 60 # Synchronized homeassistant/core.py:async_stop
# to avoid killing Home Assistant Core.
return 120 + 60 + 30 + 10
@property @property
def ip_address(self) -> IPv4Address: def ip_address(self) -> IPv4Address: