From 0cabed82e438d73b0e04eb72ea90371a2c4d80d6 Mon Sep 17 00:00:00 2001 From: Jeremy Gibson Date: Mon, 3 Oct 2022 10:17:20 -0400 Subject: [PATCH 1/2] refs #sc-16860 Replace wal_keep_segments with wal_keep_size --- fabulaws/ubuntu/packages/postgres.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fabulaws/ubuntu/packages/postgres.py b/fabulaws/ubuntu/packages/postgres.py index 91c134a..5d7717b 100644 --- a/fabulaws/ubuntu/packages/postgres.py +++ b/fabulaws/ubuntu/packages/postgres.py @@ -31,8 +31,7 @@ class PostgresMixin(AptMixin): "hot_standby": "on", "hot_standby_feedback": "on", "max_wal_senders": "3", - # during client deletion 50 or more may be generated per minute; this allows an hour - "wal_keep_segments": "3000", + "wal_keep_size": "48000", # Replaces wal_keep_segments # resources - set these dynamically based on actual machine resources (see pg_resource_settings()) # 'shared_buffers': '8GB', # 'work_mem': '750MB', From 58f33a6afc9cc9b4a370c65371a758be90f91d0a Mon Sep 17 00:00:00 2001 From: Jeremy Gibson Date: Mon, 3 Oct 2022 10:22:56 -0400 Subject: [PATCH 2/2] refs #sc-16860 Bump version --- fabulaws/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabulaws/__init__.py b/fabulaws/__init__.py index 9eb1ebe..bd538f7 100644 --- a/fabulaws/__init__.py +++ b/fabulaws/__init__.py @@ -1 +1 @@ -__version__ = "1.0.11" +__version__ = "1.0.12"