fix(settings): set long busy timeout for default SQLite database
This commit is contained in:
parent
f466c33a0f
commit
b2b5dbc091
|
@ -117,7 +117,7 @@ WSGI_APPLICATION = "shiftregister.wsgi.application"
|
|||
# https://docs.djangoproject.com/en/4.0/ref/settings/#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…
Reference in New Issue