From 0a221fc20cbc58381affbfec1865fcca55b19018 Mon Sep 17 00:00:00 2001 From: Emmanuel Nyachoke Date: Tue, 11 Nov 2025 12:54:59 +0300 Subject: [PATCH] HSC-519: Add max_slot_wal_keep_size to release slot once the wal grows beyond 2GB --- docker-compose-common.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose-common.yml b/docker-compose-common.yml index 50103e37..3a867134 100644 --- a/docker-compose-common.yml +++ b/docker-compose-common.yml @@ -41,7 +41,7 @@ services: restic-compose-backup.mariadb: true postgresql: - command: postgres -c wal_level=logical -c max_wal_senders=10 -c max_replication_slots=10 -c max_connections=200 + 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 environment: POSTGRES_DB: postgres POSTGRES_USER: ${POSTGRES_USER}