userver: storages::postgres::ClusterSettings Struct Reference
Loading...
Searching...
No Matches
storages::postgres::ClusterSettings Struct Reference

#include <userver/storages/postgres/options.hpp>

Detailed Description

Settings for storages::postgres::Cluster.

Definition at line 284 of file options.hpp.

Public Attributes

StatementMetricsSettings statement_metrics_settings
 settings for statements metrics
 
TopologySettings topology_settings
 settings for host discovery
 
PoolSettings pool_settings
 settings for connection pools
 
ConnectionSettings conn_settings
 settings for individual connections
 
InitMode init_mode = InitMode::kSync
 initialization mode
 
std::string db_name
 database name
 
ConnlimitMode connlimit_mode = ConnlimitMode::kAuto
 connection limit change mode
 
congestion_control::v2::LinearController::StaticConfig cc_config
 congestion control settings
 

Member Data Documentation

◆ cc_config

congestion_control::v2::LinearController::StaticConfig storages::postgres::ClusterSettings::cc_config

congestion control settings

Definition at line 307 of file options.hpp.

◆ conn_settings

ConnectionSettings storages::postgres::ClusterSettings::conn_settings

settings for individual connections

Definition at line 295 of file options.hpp.

◆ connlimit_mode

ConnlimitMode storages::postgres::ClusterSettings::connlimit_mode = ConnlimitMode::kAuto

connection limit change mode

Definition at line 304 of file options.hpp.

◆ db_name

std::string storages::postgres::ClusterSettings::db_name

database name

Definition at line 301 of file options.hpp.

◆ init_mode

InitMode storages::postgres::ClusterSettings::init_mode = InitMode::kSync

initialization mode

Definition at line 298 of file options.hpp.

◆ pool_settings

PoolSettings storages::postgres::ClusterSettings::pool_settings

settings for connection pools

Definition at line 292 of file options.hpp.

◆ statement_metrics_settings

StatementMetricsSettings storages::postgres::ClusterSettings::statement_metrics_settings

settings for statements metrics

Definition at line 286 of file options.hpp.

◆ topology_settings

TopologySettings storages::postgres::ClusterSettings::topology_settings

settings for host discovery

Definition at line 289 of file options.hpp.


The documentation for this struct was generated from the following file: