Skip to content

Commit b0ba1e7

Browse files
enyachokekipchubett
authored andcommitted
HSC-519: Add max_slot_wal_keep_size to release slot once the wal grows beyond 2GB (#193)
1 parent d7c8120 commit b0ba1e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose-common.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ services:
4141
restic-compose-backup.mariadb: true
4242

4343
postgresql:
44-
command: postgres -c wal_level=logical -c max_wal_senders=10 -c max_replication_slots=10 -c max_connections=200
44+
command: postgres -c wal_level=logical -c max_wal_senders=10 -c max_replication_slots=10 -c max_connections=200 -c max_slot_wal_keep_size=2GB
4545
environment:
4646
POSTGRES_DB: postgres
4747
POSTGRES_USER: ${POSTGRES_USER}

0 commit comments

Comments
 (0)