mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-09 21:14:22 +00:00
feat(db): Update Django DB manager to use psycopg3 and connection pooling (#6541)
# Conflicts: # api/poetry.lock # api/pyproject.toml
This commit is contained in:
committed by
Pepe Fagoaga
parent
33cadaa932
commit
fd8361ae2c
@@ -23,6 +23,10 @@ DJANGO_SECRETS_ENCRYPTION_KEY=""
|
||||
DJANGO_MANAGE_DB_PARTITIONS=[True|False]
|
||||
DJANGO_CELERY_DEADLOCK_ATTEMPTS=5
|
||||
DJANGO_BROKER_VISIBILITY_TIMEOUT=86400
|
||||
DJANGO_DB_CONNECTION_POOL_MIN_SIZE=4
|
||||
DJANGO_DB_CONNECTION_POOL_MAX_SIZE=10
|
||||
DJANGO_DB_CONNECTION_POOL_MAX_IDLE=36000
|
||||
DJANGO_DB_CONNECTION_POOL_MAX_LIFETIME=86400
|
||||
|
||||
# PostgreSQL settings
|
||||
# If running django and celery on host, use 'localhost', else use 'postgres-db'
|
||||
|
||||
Reference in New Issue
Block a user