update SQLite PRAGMAs

This commit is contained in:
0xDEADFED5 2024-08-16 00:59:37 -07:00
parent 310a895bb5
commit f3f768960e

View file

@ -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):
"""