File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 52
52
/* max sleep time between cycles (3min) */
53
53
#define DEFAULT_NAPTIME_PER_CYCLE 180000L
54
54
55
+ /* GUC variables */
55
56
int max_logical_replication_workers = 4 ;
56
57
int max_sync_workers_per_subscription = 2 ;
57
58
Original file line number Diff line number Diff line change @@ -97,8 +97,8 @@ ReplicationSlotCtlData *ReplicationSlotCtl = NULL;
97
97
/* My backend's replication slot in the shared memory array */
98
98
ReplicationSlot * MyReplicationSlot = NULL ;
99
99
100
- /* GUCs */
101
- int max_replication_slots = 0 ; /* the maximum number of replication
100
+ /* GUC variable */
101
+ int max_replication_slots = 10 ; /* the maximum number of replication
102
102
* slots */
103
103
104
104
static void ReplicationSlotShmemExit (int code , Datum arg );
Original file line number Diff line number Diff line change @@ -118,8 +118,8 @@ bool am_cascading_walsender = false; /* Am I cascading WAL to another
118
118
* standby? */
119
119
bool am_db_walsender = false; /* Connected to a database? */
120
120
121
- /* User-settable parameters for walsender */
122
- int max_wal_senders = 0 ; /* the maximum number of concurrent
121
+ /* GUC variables */
122
+ int max_wal_senders = 10 ; /* the maximum number of concurrent
123
123
* walsenders */
124
124
int wal_sender_timeout = 60 * 1000 ; /* maximum time to send one WAL
125
125
* data message */
You can’t perform that action at this time.
0 commit comments