mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Migrate dispatcher to create tasks eagerly (#112845)
There were quite a few of these that never had to suspend.
This commit is contained in:
parent
d7cc30fd2b
commit
89c24b2f75
@ -225,4 +225,4 @@ def async_dispatcher_send(
|
|||||||
if job is None:
|
if job is None:
|
||||||
job = _generate_job(signal, target)
|
job = _generate_job(signal, target)
|
||||||
target_list[target] = job
|
target_list[target] = job
|
||||||
hass.async_run_hass_job(job, *args)
|
hass.async_run_hass_job(job, *args, eager_start=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user