Skip to content

Add instructions to prevent database timeout - #25

Open
hupeter wants to merge 1 commit into
chrisspen:masterfrom
hupeter:patch-1
Open

Add instructions to prevent database timeout#25
hupeter wants to merge 1 commit into
chrisspen:masterfrom
hupeter:patch-1

Conversation

@hupeter

@hupeter hupeter commented Dec 25, 2018

Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant