From 50a8114d0bf1c41b27a505de78415bfac5722b24 Mon Sep 17 00:00:00 2001 From: Don Seiler Date: Wed, 4 Jul 2018 03:08:54 -0500 Subject: [PATCH] Use enforced minimums in postgresX.yml files (#730) Fix the discrepancy for the values of max_wal_senders and max_replication_slots between the sample postgres.yml files and hard-coded defaults in Patroni, bumping the former to 10. Contributed by @dtseiler --- postgres0.yml | 4 ++-- postgres1.yml | 4 ++-- postgres2.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/postgres0.yml b/postgres0.yml index d5425373..8d7ef60a 100644 --- a/postgres0.yml +++ b/postgres0.yml @@ -31,8 +31,8 @@ bootstrap: # wal_level: hot_standby # hot_standby: "on" # wal_keep_segments: 8 -# max_wal_senders: 5 -# max_replication_slots: 5 +# max_wal_senders: 10 +# max_replication_slots: 10 # wal_log_hints: "on" # archive_mode: "on" # archive_timeout: 1800s diff --git a/postgres1.yml b/postgres1.yml index 683bc965..9178b088 100644 --- a/postgres1.yml +++ b/postgres1.yml @@ -29,8 +29,8 @@ bootstrap: # wal_level: hot_standby # hot_standby: "on" # wal_keep_segments: 8 -# max_wal_senders: 5 -# max_replication_slots: 5 +# max_wal_senders: 10 +# max_replication_slots: 10 # wal_log_hints: "on" # archive_mode: "on" # archive_timeout: 1800s diff --git a/postgres2.yml b/postgres2.yml index b77f5bec..dcefe6f4 100644 --- a/postgres2.yml +++ b/postgres2.yml @@ -29,8 +29,8 @@ bootstrap: # wal_level: hot_standby # hot_standby: "on" # wal_keep_segments: 8 -# max_wal_senders: 5 -# max_replication_slots: 5 +# max_wal_senders: 10 +# max_replication_slots: 10 # wal_log_hints: "on" # archive_mode: "on" # archive_timeout: 1800s