Increase maximum number of database replication connections
authorTom Hughes <tom@compton.nu>
Thu, 21 Sep 2017 18:28:18 +0000 (19:28 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 21 Sep 2017 18:28:18 +0000 (19:28 +0100)
roles/db-master.rb

index ae33b62..89659c7 100644 (file)
@@ -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" },