From 05e5b4fe795ff788bf0e941f1ddd2ab6470f0f92 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 22 Oct 2019 21:41:20 +0000 Subject: [PATCH] postgresql: increase the max_standby_streaming_delay to 90s It's hoped that this would allow us to get more reliable backups on the hot spare. Signed-off-by: Kevin Fenzi --- roles/postgresql_server/templates/postgresql.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/postgresql_server/templates/postgresql.conf b/roles/postgresql_server/templates/postgresql.conf index 963fff78bf..d2a73c22d3 100644 --- a/roles/postgresql_server/templates/postgresql.conf +++ b/roles/postgresql_server/templates/postgresql.conf @@ -510,6 +510,7 @@ effective_io_concurrency = 1 wal_level = 'hot_standby' max_wal_senders = 10 wal_keep_segments = 100 +max_standby_streaming_delay = 90s {% elif ansible_hostname.startswith("db-koji02") %} hot_standby = on hot_standby_feedback = on