CONN_MAX_AGE
This commit is contained in:
parent
88d7b691a3
commit
7b153cd8f6
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ DATABASES = {
|
||||||
'PASSWORD': config('DB_PASSWORD'),
|
'PASSWORD': config('DB_PASSWORD'),
|
||||||
'HOST': config('DB_HOST', '127.0.0.1'),
|
'HOST': config('DB_HOST', '127.0.0.1'),
|
||||||
'PORT': config('DB_PORT', ''),
|
'PORT': config('DB_PORT', ''),
|
||||||
"CONN_MAX_AGE": 2,
|
"CONN_MAX_AGE": 0,
|
||||||
"OPTIONS": {
|
"OPTIONS": {
|
||||||
"pool": True,
|
"pool": True,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue