supabase-postgres.git / summary / log / commit / refs
commit ea0fcfcf4332954bf2a711ab2bade250b4a7feb3
Author: Chris Gwilliams <517923+encima@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
Date: Mon Jul 15 11:05:00 2024 +0000
Update postgresql.conf to increase max_slot_wal_keep_size (#981)
ansible/files/postgresql_config/postgresql.conf.j2 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ansible/files/postgresql_config/postgresql.conf.j2 b/ansible/files/postgresql_config/postgresql.conf.j2
index 64c3a3db..b6e33dce 100644
--- a/ansible/files/postgresql_config/postgresql.conf.j2
+++ b/ansible/files/postgresql_config/postgresql.conf.j2
@@ -300,7 +300,7 @@ max_wal_senders = 10 # max number of walsender processes
max_replication_slots = 5 # max number of replication slots
# (change requires restart)
#wal_keep_size = 0 # in megabytes; 0 disables
-max_slot_wal_keep_size = 1024 # in megabytes; -1 disables
+max_slot_wal_keep_size = 4096 # in megabytes; -1 disables
#wal_sender_timeout = 60s # in milliseconds; 0 disables
#track_commit_timestamp = off # collect timestamp of transaction commit
# (change requires restart)
[parent: 3202c0994c82]