mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-22 14:13:01 +02:00
increase sqlite timeout and dont check for same thread condition
This commit is contained in:
@@ -144,6 +144,10 @@ DATABASES = {
|
|||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.sqlite3',
|
'ENGINE': 'django.db.backends.sqlite3',
|
||||||
'NAME': DATABASE_NAME,
|
'NAME': DATABASE_NAME,
|
||||||
|
'OPTIONS': {
|
||||||
|
'timeout': 60,
|
||||||
|
'check_same_thread': False,
|
||||||
|
},
|
||||||
# DB setup is sometimes modified at runtime by setup_django() in config.py
|
# DB setup is sometimes modified at runtime by setup_django() in config.py
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user