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