Critical: Revert changes to PRAGMA settings, to avoid db issues on existing dbs

This commit is contained in:
Griatch 2024-10-01 09:11:22 +02:00
parent d76bc1a62b
commit 9e45c09656

View file

@ -301,13 +301,13 @@ DATABASES = {
}
}
# 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 = (
"PRAGMA cache_size=10000",
"PRAGMA synchronous=1",
"PRAGMA synchronous=OFF",
"PRAGMA count_changes=OFF",
"PRAGMA temp_store=2",
"PRAGMA journal_mode=WAL",
)
# How long the django-database connection should be kept open, in seconds.