Skip to content

Commit ea0fcfc

Browse files
authored
Update postgresql.conf to increase max_slot_wal_keep_size (#981)
1 parent 3202c09 commit ea0fcfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansible/files/postgresql_config/postgresql.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ max_wal_senders = 10 # max number of walsender processes
300300
max_replication_slots = 5 # max number of replication slots
301301
# (change requires restart)
302302
#wal_keep_size = 0 # in megabytes; 0 disables
303-
max_slot_wal_keep_size = 1024 # in megabytes; -1 disables
303+
max_slot_wal_keep_size = 4096 # in megabytes; -1 disables
304304
#wal_sender_timeout = 60s # in milliseconds; 0 disables
305305
#track_commit_timestamp = off # collect timestamp of transaction commit
306306
# (change requires restart)

0 commit comments

Comments
 (0)