From 444f19e13d77ed9e8e2cc9e6a9400e6be1d2b0f4 Mon Sep 17 00:00:00 2001 From: mazano Date: Tue, 25 Aug 2020 08:53:45 +0200 Subject: [PATCH] Fix default values for wal storage and archiving (#269) --- scripts/env-data.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/env-data.sh b/scripts/env-data.sh index 46db4e6..6ae26d4 100644 --- a/scripts/env-data.sh +++ b/scripts/env-data.sh @@ -100,7 +100,7 @@ if [ -z "${PG_MAX_WAL_SENDERS}" ]; then PG_MAX_WAL_SENDERS=10 fi if [ -z "${PG_WAL_KEEP_SEGMENTS}" ]; then - PG_WAL_KEEP_SEGMENTS=250 + PG_WAL_KEEP_SEGMENTS=20 fi if [ -z "${IP_LIST}" ]; then @@ -145,7 +145,7 @@ if [ -z "${MIN_WAL_SIZE}" ]; then fi if [ -z "${WAL_SEGSIZE}" ]; then - WAL_SEGSIZE=1024 + WAL_SEGSIZE=256 fi if [ -z "${CHECK_POINT_TIMEOUT}" ]; then