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