hass-core/homeassistant/components/recorder
Stefan Agner 0a9927d18e
Avoid locking the database for non-SQLite backends (#63847)
* Avoid locking the database for non-SQLite backends

Currently we only have a lock implementation for SQLite. Just return
success for all other databases as they are not expected to store data
in the config directory and the caller can assume that a backup can
be safely taken.

This fixes `RuntimeError: generator didn't yield` errors when creating
a backup with the current Supervisor dev builds.
2022-01-11 16:17:56 +01:00
..
__init__.py Avoid locking the database for non-SQLite backends (#63847) 2022-01-11 16:17:56 +01:00
const.py Add recorder status WS API (#58989) 2021-11-04 16:46:45 +01:00
history.py Use relative imports [L-R] (#61575) 2021-12-13 00:24:46 +01:00
manifest.json Bump sqlalchemy to 1.4.27 (#60383) 2021-11-25 19:55:17 -08:00
migration.py Remove duplicated statistics rows (#61146) 2021-12-13 14:15:36 +01:00
models.py Remove duplicated statistics rows (#61146) 2021-12-13 14:15:36 +01:00
pool.py
purge.py Purge short term statistics (#58028) 2021-10-20 16:00:59 +02:00
repack.py
services.yaml
statistics.py Store deleted duplicated statistics in .storage (#62574) 2021-12-22 14:27:56 +01:00
util.py Avoid locking the database for non-SQLite backends (#63847) 2022-01-11 16:17:56 +01:00
websocket_api.py Introduce only_supervisor for @websocket_api.ws_require_user() (#61298) 2021-12-08 16:49:35 -08:00