mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-18 09:04:26 -04:00
increase sqlite timeout and dont check for same thread condition
This commit is contained in:
parent
1cabde3ccd
commit
9fc9f52cfb
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue