Revert "Increase database timeouts"

This reverts commit 74e8d1cc0f.
This commit is contained in:
croneter 2019-01-01 12:51:38 +01:00
parent 1ab9ff7790
commit 0f95889b75

View file

@ -402,7 +402,7 @@ def kodi_sql(media_type=None):
db_path = v.DB_TEXTURE_PATH
else:
db_path = v.DB_VIDEO_PATH
conn = connect(db_path, timeout=60.0)
conn = connect(db_path, timeout=30.0)
conn.execute('PRAGMA journal_mode=WAL;')
conn.execute('PRAGMA cache_size = -8000;')
conn.execute('PRAGMA synchronous=NORMAL;')