Skip to content

Commit 2b788cb

Browse files
authored
Bump neon.logical_replication_max_snap_files default to 10000 (#9896)
This bump comes from a recommendation from Chi. Signed-off-by: Tristan Partin <[email protected]>
1 parent 13feda0 commit 2b788cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pgxn/neon/logical_replication_monitor.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
#define LS_MONITOR_CHECK_INTERVAL 10000 /* ms */
2222

23-
static int logical_replication_max_snap_files = 300;
23+
static int logical_replication_max_snap_files = 10000;
2424

2525
/*
2626
* According to Chi (shyzh), the pageserver _should_ be good with 10 MB worth of
@@ -184,7 +184,7 @@ InitLogicalReplicationMonitor(void)
184184
"Maximum allowed logical replication .snap files. When exceeded, slots are dropped until the limit is met. -1 disables the limit.",
185185
NULL,
186186
&logical_replication_max_snap_files,
187-
300, -1, INT_MAX,
187+
10000, -1, INT_MAX,
188188
PGC_SIGHUP,
189189
0,
190190
NULL, NULL, NULL);

0 commit comments

Comments
 (0)