Logo
Explore Help
Register Sign In
jfmcarreira/home-assistant-core
Watch 1
Star 0 Fork 0
Code Issues Pull Requests Projects Releases Wiki Activity
Files
2c8a06bfbec7e90878b11f0e42c03dba8d64e0a7
home-assistant-core/homeassistant/components/recorder
T
History
Nathan Henrie 33450c726d Use sqlite's WAL mode to avoid database is locked errors (#6519)
* Use sqlite's WAL mode to avoid `database is locked` errors

- Relevant issue: https://github.com/home-assistant/home-assistant/issues/4780

Code:

- http://stackoverflow.com/a/23661501/1588795
- http://docs.sqlalchemy.org/en/rel_0_9/dialects/sqlite.html#foreign-key-support
- https://github.com/g2p/bedup/pull/86/files

* Only set WAL if using sqlite

* Reorder imports

* Fix pylint warnings
2017-03-15 00:14:12 -07:00
..
__init__.py
Use sqlite's WAL mode to avoid database is locked errors (#6519)
2017-03-15 00:14:12 -07:00
const.py
Feature/reorg recorder (#6237)
2017-02-26 14:38:06 -08:00
migration.py
Feature/reorg recorder (#6237)
2017-02-26 14:38:06 -08:00
models.py
[recorder] Index events time_fired to improve logbook performance (#5633)
2017-02-02 22:04:14 -05:00
purge.py
Feature/reorg recorder (#6237)
2017-02-26 14:38:06 -08:00
util.py
Feature/reorg recorder (#6237)
2017-02-26 14:38:06 -08:00
Powered by Gitea Version: 28.2.0 Page: 420ms Template repo/view: 32ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API