Tune SQLite settings
This commit is contained in:
parent
4cd203ad58
commit
a604e1323b
1 changed files with 3 additions and 1 deletions
|
@ -25,7 +25,9 @@ DATABASES = {
|
|||
'OPTIONS': {
|
||||
# Reduce the incidence of "database locked" errors by allowing write
|
||||
# requests to be queued for some seconds.
|
||||
'timeout': 5,
|
||||
'timeout': 10,
|
||||
'init_command': 'PRAGMA journal_mode = WAL; PRAGMA synchronous = NORMAL',
|
||||
# "transaction_mode": "IMMEDIATE",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue