Freeze integration setup timeout for recorder during non-live migration (#122431)
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…
Reference in New Issue