MAX_CONNECTIONS
Upper bound on simultaneous database connections.
MAX_CONNECTIONS: Final[int] = 128
Exceeding this limit raises ConnectionPoolExhausted. The default of 128 matches the PostgreSQL max_connections default so that a single application instance can saturate one server without over-provisioning.
Notes
Deployments behind a connection pooler (PgBouncer, Odyssey) can safely raise this to 500 or more, since the pooler manages the actual backend connection count.