mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00: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:
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user