mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-28 03:26:32 +00:00
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:
parent
bd173fa333
commit
d53f5e21f4
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user