Skip to content

Commit 72be036

Browse files
authored
Fix defaults 'max_wal_senders' and 'max_replication_slots' in docs (patroni#3192)
From the actual code, in patroni/postgresql/config.py::ConfigHandler.CMDLINE_OPTIONS, the previous defaults were wrong.
1 parent 969d7ec commit 72be036

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/patroni_configuration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ Some of the PostgreSQL parameters **must hold the same values on the primary and
4949

5050
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 <dynamic_configuration>`.
5151

52-
- **max_wal_senders**: 5
53-
- **max_replication_slots**: 5
52+
- **max_wal_senders**: 10
53+
- **max_replication_slots**: 10
5454
- **wal_keep_segments**: 8
5555
- **wal_keep_size**: 128MB
5656

0 commit comments

Comments
 (0)