django-sec
django-sec copied to clipboard
Add instructions to prevent database timeout
You need a django config like this to prevent a SQL timeout error during index imports.
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
'CONN_MAX_AGE': 0,
}
}