From a8d61cd6151f78aa3612ca35f023303552fa3f46 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 21 Sep 2017 19:28:18 +0100 Subject: [PATCH] Increase maximum number of database replication connections --- roles/db-master.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/db-master.rb b/roles/db-master.rb index ae33b625c..89659c7ad 100644 --- a/roles/db-master.rb +++ b/roles/db-master.rb @@ -9,7 +9,7 @@ default_attributes( :wal_level => "hot_standby", :archive_mode => "on", :archive_command => "/bin/cp %p /store/postgresql/archive/%f", - :max_wal_senders => "2", + :max_wal_senders => "3", :late_authentication_rules => [ { :database => "replication", :user => "replication", :address => "146.179.159.168/32" }, { :database => "replication", :user => "replication", :address => "146.179.159.170/32" }, -- 2.39.5