mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Freeze integration setup timeout for recorder during non-live migration (#122431)
This commit is contained in:
parent
f4125eaf4c
commit
5d3c57ecfe
@ -950,7 +950,8 @@ class Recorder(threading.Thread):
|
||||
self, schema_status: migration.SchemaValidationStatus
|
||||
) -> tuple[bool, migration.SchemaValidationStatus]:
|
||||
"""Migrate schema to the latest version."""
|
||||
return self._migrate_schema(schema_status, False)
|
||||
with self.hass.timeout.freeze(DOMAIN):
|
||||
return self._migrate_schema(schema_status, False)
|
||||
|
||||
def _migrate_schema_live(
|
||||
self, schema_status: migration.SchemaValidationStatus
|
||||
|
Loading…
x
Reference in New Issue
Block a user