From 72be036c994aa5a7a3374a51b8e5c221b08dbded Mon Sep 17 00:00:00 2001 From: Denis Laxalde Date: Fri, 25 Oct 2024 11:18:45 +0200 Subject: [PATCH] Fix defaults 'max_wal_senders' and 'max_replication_slots' in docs (#3192) From the actual code, in patroni/postgresql/config.py::ConfigHandler.CMDLINE_OPTIONS, the previous defaults were wrong. --- docs/patroni_configuration.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/patroni_configuration.rst b/docs/patroni_configuration.rst index 36411211..b9bc071b 100644 --- a/docs/patroni_configuration.rst +++ b/docs/patroni_configuration.rst @@ -49,8 +49,8 @@ Some of the PostgreSQL parameters **must hold the same values on the primary and For the parameters below, PostgreSQL does not require equal values among the primary and all the replicas. However, considering the possibility of a replica to become the primary at any time, it doesn't really make sense to set them differently; therefore, **Patroni restricts setting their values to the** :ref:`dynamic configuration `. -- **max_wal_senders**: 5 -- **max_replication_slots**: 5 +- **max_wal_senders**: 10 +- **max_replication_slots**: 10 - **wal_keep_segments**: 8 - **wal_keep_size**: 128MB