mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 12:56:30 +01:00
update SQLite PRAGMAs
This commit is contained in:
parent
310a895bb5
commit
f3f768960e
1 changed files with 2 additions and 1 deletions
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue