1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-18 04:11:57 +02: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
}
}