mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-29 23:04:23 +00:00
revert: Update Django DB manager to use psycopg3 and connection pooling (#6719)
Co-authored-by: Víctor Fernández Poyatos <victor@prowler.com>
This commit is contained in:
1 parent
1fe125867c
commit
9630f2242a
10 files changed
+444
-532
No files matched your search
@@ -23,10 +23,6 @@ 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