Enable Write-Ahead Logging (WAL) for SQLite to improve performance when using it.
This commit is contained in:
parent
92e1336f80
commit
8458182990
3 changed files with 21 additions and 1 deletions
|
|
@ -129,6 +129,9 @@ DATABASES = {
|
|||
"default": {
|
||||
"ENGINE": "django.db.backends.sqlite3",
|
||||
"NAME": os.path.join(BASE_DIR, "db.sqlite3"),
|
||||
"OPTIONS": {
|
||||
"timeout": 10,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue