Enable Write-Ahead Logging (WAL) for SQLite to improve performance when using it.

This commit is contained in:
krek0 2026-04-24 23:26:09 +02:00
parent 92e1336f80
commit 8458182990
3 changed files with 21 additions and 1 deletions

View file

@ -129,6 +129,9 @@ DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": os.path.join(BASE_DIR, "db.sqlite3"),
"OPTIONS": {
"timeout": 10,
},
}
}