Bump HA timeout to match S6_SERVICES_GRACETIME (#3904)

This commit is contained in:
Mike Degatano 2022-09-27 12:55:18 -04:00 committed by GitHub
parent eb621f6a2c
commit ec6da7851e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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