PostgreSQL connection pool options. More...
#include <userver/storages/postgres/options.hpp>
Public Member Functions | |
bool | operator== (const PoolSettings &rhs) const |
Public Attributes | |
size_t | min_size {kDefaultPoolMinSize} |
Number of connections created initially. | |
size_t | max_size {kDefaultPoolMaxSize} |
Maximum number of created connections. | |
size_t | max_queue_size {kDefaultPoolMaxQueueSize} |
Maximum number of clients waiting for a connection. | |
size_t | connecting_limit {kDefaultConnectingLimit} |
Limits number of concurrent establishing connections (0 - unlimited) | |
PostgreSQL connection pool options.
Dynamic option POSTGRES_CONNECTION_POOL_SETTINGS
Definition at line 174 of file options.hpp.
|
inline |
Definition at line 187 of file options.hpp.
size_t storages::postgres::PoolSettings::connecting_limit {kDefaultConnectingLimit} |
Limits number of concurrent establishing connections (0 - unlimited)
Definition at line 185 of file options.hpp.
size_t storages::postgres::PoolSettings::max_queue_size {kDefaultPoolMaxQueueSize} |
Maximum number of clients waiting for a connection.
Definition at line 182 of file options.hpp.
size_t storages::postgres::PoolSettings::max_size {kDefaultPoolMaxSize} |
Maximum number of created connections.
Definition at line 179 of file options.hpp.
size_t storages::postgres::PoolSettings::min_size {kDefaultPoolMinSize} |
Number of connections created initially.
Definition at line 176 of file options.hpp.