connection pool

This commit is contained in:
Sayyid Hamid Mahdavi 2025-12-20 14:04:05 +03:30
parent c966dd3171
commit 673f525d30

View file

@ -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