magneticod: store temp files in files and not in memory
(reduces the memory consumption)
This commit is contained in:
parent
566ebea987
commit
e4c33ceb36
@ -39,7 +39,7 @@ class Database:
|
||||
db_conn = sqlite3.connect(database, isolation_level=None)
|
||||
|
||||
db_conn.execute("PRAGMA journal_mode=WAL;")
|
||||
db_conn.execute("PRAGMA temp_store = 2;")
|
||||
db_conn.execute("PRAGMA temp_store=1;")
|
||||
db_conn.execute("PRAGMA foreign_keys=ON;")
|
||||
|
||||
with db_conn:
|
||||
|
Loading…
Reference in New Issue
Block a user