mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
ensure a stale Postgres does not become leader
This commit is contained in:
@@ -7,6 +7,7 @@ postgresql:
|
||||
name: postgresql1
|
||||
listen: 127.0.0.1:5433
|
||||
data_dir: data/postgresql1
|
||||
maximum_lag_on_failover: 1048576 # 1 megabyte in bytes
|
||||
replication:
|
||||
username: replicator
|
||||
password: rep-pass
|
||||
|
||||
Reference in New Issue
Block a user