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
history.py
manifest.json
migration.py
models.py
pool.py
purge.py
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