mirror of
https://github.com/janeczku/calibre-web
synced 2025-01-03 05:50:30 +00:00
Merge remote-tracking branch 'whatsapp/patch-4'
This commit is contained in:
commit
ebb7ddec44
@ -658,6 +658,7 @@ class CalibreDB:
|
||||
connect_args={'check_same_thread': False},
|
||||
poolclass=StaticPool)
|
||||
with cls.engine.begin() as connection:
|
||||
connection.execute(text('PRAGMA cache_size = 10000;'))
|
||||
connection.execute(text("attach database '{}' as calibre;".format(dbpath)))
|
||||
connection.execute(text("attach database '{}' as app_settings;".format(app_db_path)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user