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

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

Detailed Description

PostgreSQL topology options.

Dynamic option POSTGRES_TOPOLOGY_SETTINGS

Definition at line 157 of file options.hpp.

Public Attributes

std::chrono::milliseconds max_replication_lag {kDefaultMaxReplicationLag}
 Maximum replication lag. Once the replica lag exceeds this value it will be automatically disabled.
 
std::unordered_set< std::string, ::utils::StrIcaseHash, ::utils::StrIcaseEqualdisabled_replicas {}
 List of manually disabled replicas (FQDNs).
 

Member Data Documentation

◆ disabled_replicas

std::unordered_set<std::string, ::utils::StrIcaseHash, ::utils::StrIcaseEqual> storages::postgres::TopologySettings::disabled_replicas {}

List of manually disabled replicas (FQDNs).

Definition at line 163 of file options.hpp.

◆ max_replication_lag

std::chrono::milliseconds storages::postgres::TopologySettings::max_replication_lag {kDefaultMaxReplicationLag}

Maximum replication lag. Once the replica lag exceeds this value it will be automatically disabled.

Definition at line 159 of file options.hpp.


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