core/homeassistant
J. Nick Koston b966ff7a3d
Await in sequence when we know we will be blocked by the entity platform semaphore (#93649)
* Defer creating tasks we know are going to wait on the entity platform semaphore

When looking at whats going on with aiomonitor-ng, I noticed
we end up creating a lot of tasks that block waiting for the
executor because of the entity platform parallel_updates semaphore.

When we know the tasks are going to block we now await them
in sequence to avoid feeding the loop a herd of tasks that
will block on the semaphore

* change during iteration fix

* change during iteration fix

* cleanup

* cleanup

* fix vizio test
2023-05-27 19:58:02 -04:00
..
auth Fix trusted_users group schema (#92847) 2023-05-23 20:11:25 +02:00
backports Add Self typing (1) [mypy 1.0] (#87598) 2023-02-06 22:29:47 -06:00
brands Add YouTube integration (#92988) 2023-05-27 11:21:12 -07:00
components Disable polling for samsungtv remote entities (#93650) 2023-05-27 19:55:48 -04:00
generated Add YouTube integration (#92988) 2023-05-27 11:21:12 -07:00
helpers Await in sequence when we know we will be blocked by the entity platform semaphore (#93649) 2023-05-27 19:58:02 -04:00
scripts
util Fix shutdown being delayed for cancelling tasks (#93287) 2023-05-21 14:17:34 +02:00
__init__.py
__main__.py
block_async_io.py
bootstrap.py Capture warnings.warn and friends messages in logs (#85875) 2023-05-18 21:41:13 +03:00
config.py
config_entries.py
const.py
core.py Collapse valid state check when creating a state (#93655) 2023-05-27 19:53:08 -04:00
data_entry_flow.py
exceptions.py Make dataclasses in HA core slotted (#91208) 2023-04-11 07:58:28 -10:00
loader.py Use futures instead of asyncio.Event for async_get_integrations (#93060) 2023-05-14 14:42:04 -05:00
package_constraints.txt Update frontend to 20230526.0 (#93581) 2023-05-26 12:39:52 +02:00
requirements.py
runner.py
setup.py
strings.json