connection pool
This commit is contained in:
parent
c966dd3171
commit
673f525d30
1 changed files with 5 additions and 3 deletions
|
|
@ -178,10 +178,12 @@ DATABASES = {
|
|||
'PASSWORD': config('DB_PASSWORD'),
|
||||
'HOST': config('DB_HOST', '127.0.0.1'),
|
||||
'PORT': config('DB_PORT', ''),
|
||||
"CONN_MAX_AGE": 0,
|
||||
"OPTIONS": {
|
||||
"pool": True,
|
||||
},
|
||||
},
|
||||
"OPTIONS": {
|
||||
"pool": True,
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
# Password validation
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue