userver: component
Loading...
Searching...
No Matches
component
Name Description Default value
secdist_alias Name of the database in secdist config. If specified, DSN will be read from secdist instead of static config.
dsn Connection DSN string (used for single-pool configuration).
min_pool_size Number of connections created initially by this component instance. Connections are kept even without requests. 1
max_pool_size Maximum number of connections that can be created by this component instance. Should not be less than min_pool_size. 10
dns_resolver Server hostname resolver type (getaddrinfo or async). Possible values: getaddrinfo, async. async
pools.[] Connection pool configuration.
pools.[].dsn Connection DSN string for this pool.
pools.[].min_pool_size Minimum number of connections in this pool. 1
pools.[].max_pool_size Maximum number of connections in this pool. 10