2
0
Fork 0

fix(settings): set long busy timeout for default SQLite database

This commit is contained in:
Luca 2024-05-10 19:54:12 +02:00
parent f466c33a0f
commit b2b5dbc091
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ WSGI_APPLICATION = "shiftregister.wsgi.application"
# https://docs.djangoproject.com/en/4.0/ref/settings/#databases # https://docs.djangoproject.com/en/4.0/ref/settings/#databases
DATABASES = { DATABASES = {
"default": env.db_url(default=f"sqlite:///{BASE_DIR / 'db.sqlite3'}"), "default": env.db_url(default=f"sqlite:///{BASE_DIR / 'db.sqlite3'}?timeout=10000"),
} }