Skip to content

Commit 90aec97

Browse files
authored
Fix too short timeouts for Synology NAS
With Home Assistant Core 2025.12.x updates available the STARTUP_API_RESPONSE_TIMEOUT that HA supervisor is willing to wait (before assuming a startup failure and rolling back the entire core update) seems to be too low on not-so-beefy hosts. The problem has been seen on Synology NAS machines running Home Assistant on the side (like in my case). I have doubled the timeout from 3 to 6 minutes and the upgrade to Core 2025.12.1 works on my Synology DS723+. My update took 4min 56s -- hence the timeout increase was proven necessary.
1 parent 2993a23 commit 90aec97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

supervisor/homeassistant/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
SECONDS_BETWEEN_API_CHECKS: Final[int] = 5
5050
# Core Stage 1 and some wiggle room
51-
STARTUP_API_RESPONSE_TIMEOUT: Final[timedelta] = timedelta(minutes=3)
51+
STARTUP_API_RESPONSE_TIMEOUT: Final[timedelta] = timedelta(minutes=6)
5252
# All stages plus event start timeout and some wiggle rooom
5353
STARTUP_API_CHECK_RUNNING_TIMEOUT: Final[timedelta] = timedelta(minutes=15)
5454
# While database migration is running, the timeout will be extended

0 commit comments

Comments
 (0)