#include <userver/storages/postgres/options.hpp>
PostgreSQL connection pool options.
Dynamic option POSTGRES_CONNECTION_POOL_SETTINGS
Definition at line 177 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 190 of file options.hpp.
std::size_t storages::postgres::PoolSettings::connecting_limit {kDefaultConnectingLimit} |
Limits number of concurrent establishing connections (0 - unlimited)
Definition at line 188 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 185 of file options.hpp.
std::size_t storages::postgres::PoolSettings::max_size {kDefaultPoolMaxSize} |
Maximum number of created connections.
Definition at line 182 of file options.hpp.
std::size_t storages::postgres::PoolSettings::min_size {kDefaultPoolMinSize} |
Number of connections created initially.
Definition at line 179 of file options.hpp.