From d53f5e21f402b547dc15a1be85641ae313c6ccf4 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Mon, 11 Jan 2021 11:24:54 +0100 Subject: [PATCH] Increases core container timeout to match core shutdown time (#2417) Align the core container timeout with what the core container uses as grace period. --- supervisor/docker/homeassistant.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/supervisor/docker/homeassistant.py b/supervisor/docker/homeassistant.py index 2eda4822e..66f941c89 100644 --- a/supervisor/docker/homeassistant.py +++ b/supervisor/docker/homeassistant.py @@ -38,7 +38,9 @@ class DockerHomeAssistant(DockerInterface): @property def timeout(self) -> int: """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 def ip_address(self) -> IPv4Address: