Critical: Revert changes to PRAGMA settings, to avoid db issues on existing dbs
This commit is contained in:
parent
d76bc1a62b
commit
9e45c09656
1 changed files with 3 additions and 3 deletions
|
|
@ -301,13 +301,13 @@ DATABASES = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
# PRAGMA (directives) for the default Sqlite3 database operations. This can be used to tweak
|
# PRAGMA (directives) for the default Sqlite3 database operations. This can be used to tweak
|
||||||
# performance for your setup. Don't change this unless you know what # you are doing.
|
# performance for your setup. Don't change this unless you know what you are doing. Also
|
||||||
|
# be careful to change for an already populated database.
|
||||||
SQLITE3_PRAGMAS = (
|
SQLITE3_PRAGMAS = (
|
||||||
"PRAGMA cache_size=10000",
|
"PRAGMA cache_size=10000",
|
||||||
"PRAGMA synchronous=1",
|
"PRAGMA synchronous=OFF",
|
||||||
"PRAGMA count_changes=OFF",
|
"PRAGMA count_changes=OFF",
|
||||||
"PRAGMA temp_store=2",
|
"PRAGMA temp_store=2",
|
||||||
"PRAGMA journal_mode=WAL",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# How long the django-database connection should be kept open, in seconds.
|
# How long the django-database connection should be kept open, in seconds.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue