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

pull/1/head
Luca 8 months ago
parent f466c33a0f
commit b2b5dbc091

@ -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"),
} }

Loading…
Cancel
Save