Increase default PostgreSQL max connections from 20 to 50

This commit is contained in:
yangdx 2025-09-22 18:11:28 +08:00
parent 55176a24b4
commit 6b3a341977

View file

@ -1323,7 +1323,7 @@ class ClientManager:
),
"max_connections": os.environ.get(
"POSTGRES_MAX_CONNECTIONS",
config.get("postgres", "max_connections", fallback=20),
config.get("postgres", "max_connections", fallback=50),
),
# SSL configuration
"ssl_mode": os.environ.get(