hass-core/tests/components/sensor
J. Nick Koston 5ffb233004
Avoid database executor job to fetch statistic metadata on cache hit (#89960)
* Avoid database executor job to fetch statistic metadata on cache hit

Since we will almost always have a cache hit fetching
statistic meta data we can avoid an executor job

* Avoid database executor job to fetch statistic metadata on cache hit

Since we will almost always have a cache hit fetching
statistic meta data we can avoid an executor job

* Avoid database executor job to fetch statistic metadata on cache hit

Since we will almost always have a cache hit fetching
statistic meta data we can avoid an executor job

* remove exception catch since the threading.excepthook will actually catch this in production

* fix a few missed ones

* threadsafe

* Update homeassistant/components/recorder/table_managers/statistics_meta.py

* coverage and optimistic caching
2023-03-19 22:01:16 -04:00
..
__init__.py Use python defaults for comparing State, LazyState, and Event objects (#86856) 2023-01-29 13:31:43 -05:00
test_device_condition.py Add number + sensor device class volume storage (#88312) 2023-03-01 11:22:57 +01:00
test_device_trigger.py Add number + sensor device class volume storage (#88312) 2023-03-01 11:22:57 +01:00
test_helpers.py Add type hints to integration tests (part 19) (#88178) 2023-02-15 18:07:40 +01:00
test_init.py Fix check on non numeric custom sensor device classes (#89052) 2023-03-02 14:20:26 -05:00
test_recorder.py Avoid database executor job to fetch statistic metadata on cache hit (#89960) 2023-03-19 22:01:16 -04:00
test_significant_change.py Add type hints to integration tests (part 19) (#88178) 2023-02-15 18:07:40 +01:00
test_websocket_api.py Sort unit lists sent to frontend (#88898) 2023-02-28 16:12:49 +01:00