1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-08 17:49:37 +01:00

Avoid scheduling person updates on the event loop (#113010)

These update call the storage collection async_update_item
which never suspends so they can finish synchronously without
having to be scheduled on the loop when run_immediately,
which schedules the task eagerly is set
This commit is contained in:
J. Nick Koston
2024-03-10 17:24:48 -10:00
committed by GitHub
parent b8b8e44454
commit b30c7b47f6
@@ -242,6 +242,7 @@ class PersonStorageCollection(collection.DictStorageCollection):
er.EVENT_ENTITY_REGISTRY_UPDATED,
self._entity_registry_updated,
event_filter=self._entity_registry_filter,
run_immediately=True,
)
@callback