From f3f768960ef304c2c5631f3bb1c83fe2bbf3fc9e Mon Sep 17 00:00:00 2001 From: 0xDEADFED5 Date: Fri, 16 Aug 2024 00:59:37 -0700 Subject: [PATCH] update SQLite PRAGMAs --- evennia/server/service.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/evennia/server/service.py b/evennia/server/service.py index c1c57e5d56..1fbf14d152 100644 --- a/evennia/server/service.py +++ b/evennia/server/service.py @@ -284,9 +284,10 @@ class EvenniaServerService(MultiService): ): cursor = connection.cursor() cursor.execute("PRAGMA cache_size=10000") - cursor.execute("PRAGMA synchronous=OFF") + cursor.execute("PRAGMA synchronous=1") cursor.execute("PRAGMA count_changes=OFF") cursor.execute("PRAGMA temp_store=2") + cursor.execute("PRAGMA journal_mode=WAL") def update_defaults(self): """