parent
e4cb07df68
commit
74e8d1cc0f
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ def kodi_sql(media_type=None):
|
||||||
db_path = v.DB_TEXTURE_PATH
|
db_path = v.DB_TEXTURE_PATH
|
||||||
else:
|
else:
|
||||||
db_path = v.DB_VIDEO_PATH
|
db_path = v.DB_VIDEO_PATH
|
||||||
conn = connect(db_path, timeout=30.0)
|
conn = connect(db_path, timeout=60.0)
|
||||||
conn.execute('PRAGMA journal_mode=WAL;')
|
conn.execute('PRAGMA journal_mode=WAL;')
|
||||||
conn.execute('PRAGMA cache_size = -8000;')
|
conn.execute('PRAGMA cache_size = -8000;')
|
||||||
conn.execute('PRAGMA synchronous=NORMAL;')
|
conn.execute('PRAGMA synchronous=NORMAL;')
|
||||||
|
|
Loading…
Reference in a new issue