summaryrefslogtreecommitdiff
path: root/src/backend/replication/walsender.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-10-25 14:06:07 +0900
committerMichael Paquier <michael@paquier.xyz>2022-10-25 14:06:07 +0900
commit7d25958453a60337bcb7bcc986e270792c007ea4 (patch)
tree75231511c9260a725532c2bdd4bc59c38c19ef6b /src/backend/replication/walsender.c
parente109e43921d21d069c03f18d7c9d8f4e5cb6a0c3 (diff)
Clean up some GUC declarations and comments
This adjusts a few things for GUCs related to logical replication, replication slots and WAL senders, in the shape of incorrect comments and values inconsistent with their initial default value. Author: Peter Smith Reviewed-by: Nathan Bossart, Tom Lane, Justin Pryzby Discussion: https://postgr.es/m/CAHut+PtHE0XSfjjRQ6D4v7+dqzCw=d+1a64ujra4EX8aoc_Z+w@mail.gmail.com
Diffstat (limited to 'src/backend/replication/walsender.c')
-rw-r--r--src/backend/replication/walsender.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/replication/walsender.c b/src/backend/replication/walsender.c
index 2193dcaec61..a81ef6a2014 100644
--- a/src/backend/replication/walsender.c
+++ b/src/backend/replication/walsender.c
@@ -118,8 +118,8 @@ bool am_cascading_walsender = false; /* Am I cascading WAL to another
* standby? */
bool am_db_walsender = false; /* Connected to a database? */
-/* User-settable parameters for walsender */
-int max_wal_senders = 0; /* the maximum number of concurrent
+/* GUC variables */
+int max_wal_senders = 10; /* the maximum number of concurrent
* walsenders */
int wal_sender_timeout = 60 * 1000; /* maximum time to send one WAL
* data message */