django-sec icon indicating copy to clipboard operation
django-sec copied to clipboard

Add instructions to prevent database timeout

Open hupeter opened this issue 6 years ago • 0 comments

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,
	}
}

hupeter avatar Dec 25 '18 17:12 hupeter