From 9e45c096564c2798fc37691b4e1a6494e87a134b Mon Sep 17 00:00:00 2001 From: Griatch Date: Tue, 1 Oct 2024 09:11:22 +0200 Subject: [PATCH] Critical: Revert changes to PRAGMA settings, to avoid db issues on existing dbs --- evennia/settings_default.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/evennia/settings_default.py b/evennia/settings_default.py index ccd3bcccc2..16e15c1649 100644 --- a/evennia/settings_default.py +++ b/evennia/settings_default.py @@ -301,13 +301,13 @@ DATABASES = { } } # PRAGMA (directives) for the default Sqlite3 database operations. This can be used to tweak -# performance for your setup. Don't change this unless you know what # you are doing. +# performance for your setup. Don't change this unless you know what you are doing. Also +# be careful to change for an already populated database. SQLITE3_PRAGMAS = ( "PRAGMA cache_size=10000", - "PRAGMA synchronous=1", + "PRAGMA synchronous=OFF", "PRAGMA count_changes=OFF", "PRAGMA temp_store=2", - "PRAGMA journal_mode=WAL", ) # How long the django-database connection should be kept open, in seconds.