Skip to content

Commit

Permalink
Change the WAL journal mode back to the default DELETE mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlovsky committed May 24, 2024
1 parent 298b4f0 commit 5c2800a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tribler/core/components/database/db/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def __init__(
@self.db.on_connect
def on_connect(_, connection):
cursor = connection.cursor()
cursor.execute("PRAGMA journal_mode = WAL")
cursor.execute("PRAGMA journal_mode = DELETE")
cursor.execute("PRAGMA synchronous = NORMAL")
cursor.execute("PRAGMA temp_store = MEMORY")
cursor.execute("PRAGMA foreign_keys = ON")
Expand Down

0 comments on commit 5c2800a

Please sign in to comment.