userver: POSTGRES_CONNLIMIT_MODE_AUTO_ENABLED
Loading...
Searching...
No Matches
POSTGRES_CONNLIMIT_MODE_AUTO_ENABLED

POSTGRES_CONNLIMIT_MODE_AUTO_ENABLED Dynamic Config

Dynamic config that enables connlimit_mode: auto for PostgreSQL connections. Auto mode ignores static and dynamic max_connections configs and verifies that the cluster services use max_connections equals to PostgreSQL server's max_connections divided by service instance count.

Schema:

# yaml
default: false
description: |
Dynamic config that enables connlimit_mode: auto for PostgreSQL connections.
Auto mode ignores static and dynamic max_connections configs and verifies
that the cluster services use max_connections equals to PostgreSQL server's
max_connections divided by service instance count.
schema:
type: boolean

For a full list of dynamic configs see Dynamic config schemas list