Improve database concurrency
All checks were successful
Django CI/CD / test (push) Successful in 1m7s
Django CI/CD / build-and-push (push) Successful in 1m58s

This commit is contained in:
2025-01-30 16:53:30 +01:00
parent 6f62889e92
commit 2f4e16dd54
2 changed files with 6 additions and 0 deletions

View File

@ -113,6 +113,10 @@ DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": BASE_DIR / "db.sqlite3",
"OPTIONS": {
"timeout": 20,
"init_command": "PRAGMA synchronous=NORMAL; PRAGMA journal_mode=WAL;",
},
}
}