#include <userver/storages/postgres/options.hpp>
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::StrIcaseEqual > | disabled_replicas {} |
List of manually disabled replicas (FQDNs). | |
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.
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.