feat: update postgresql-ha wal_level

This commit is contained in:
icecheng 2025-10-23 17:20:20 +08:00
parent 18e02ac9d0
commit df2b5a0b76

View File

@ -820,7 +820,7 @@ postgresql:
# - Settings -
wal_level = 'logical'
wal_level = 'replica'
# (change requires restart)
#fsync = on # flush data to disk for crash safety
# (turning this off can cause
@ -927,7 +927,7 @@ postgresql:
# (change requires restart)
max_replication_slots = '10'
# (change requires restart)
wal_keep_size = '64MB' # in megabytes; 0 disables
wal_keep_size = 0 # in megabytes; 0 disables
#max_slot_wal_keep_size = -1 # in megabytes; -1 disables
#wal_sender_timeout = 60s # in milliseconds; 0 disables
#track_commit_timestamp = off # collect timestamp of transaction commit