core/homeassistant/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 Fix check on non numeric custom sensor device classes (#89052) 2023-03-02 14:20:26 -05:00
const.py Add number + sensor device class volume storage (#88312) 2023-03-01 11:22:57 +01:00
device_condition.py Add number + sensor device class volume storage (#88312) 2023-03-01 11:22:57 +01:00
device_trigger.py Add number + sensor device class volume storage (#88312) 2023-03-01 11:22:57 +01:00
group.py
helpers.py
manifest.json
recorder.py Avoid database executor job to fetch statistic metadata on cache hit (#89960) 2023-03-19 22:01:16 -04:00
significant_change.py
strings.json Add state attribute translations for Sensor (#89896) 2023-03-17 20:32:52 -04:00
websocket_api.py Sort unit lists sent to frontend (#88898) 2023-02-28 16:12:49 +01:00