core/homeassistant/components/tibber
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 Update pyTibber to 0.27.0 (#86940) 2023-03-02 10:11:34 -05:00
config_flow.py Test coverage for Tibber config flow (#89088) 2023-03-05 20:38:47 -05:00
const.py
diagnostics.py
manifest.json Update pyTibber to 0.27.0 (#86940) 2023-03-02 10:11:34 -05:00
notify.py
sensor.py Avoid database executor job to fetch statistic metadata on cache hit (#89960) 2023-03-19 22:01:16 -04:00
strings.json