1
0
Fork 0
mirror of synced 2024-06-26 10:00:19 +12:00

increase sqlite timeout and dont check for same thread condition

This commit is contained in:
Nick Sweeting 2021-02-28 22:55:00 -05:00
parent 1cabde3ccd
commit 9fc9f52cfb

View file

@ -144,6 +144,10 @@ DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': DATABASE_NAME,
'OPTIONS': {
'timeout': 60,
'check_same_thread': False,
},
# DB setup is sometimes modified at runtime by setup_django() in config.py
}
}