Add connection age to database settings
This commit is contained in:
parent
532f788cc9
commit
ece9178513
|
|
@ -156,7 +156,7 @@ WSGI_APPLICATION = 'core.wsgi.application'
|
||||||
|
|
||||||
# Database
|
# Database
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': dj_database_url.config()
|
'default': dj_database_url.config(conn_max_age=600)
|
||||||
}
|
}
|
||||||
|
|
||||||
# Django custom user
|
# Django custom user
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue