]> git.openstreetmap.org Git - chef.git/commitdiff
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 ae33b625c252e01a2563863368af0ed994d47c6b..89659c7ad6bcb69f0e43fd82a1f5b93b688f746c 100644 (file)
@@ -9,7 +9,7 @@ default_attributes(
         :wal_level => "hot_standby",
         :archive_mode => "on",
         :archive_command => "/bin/cp %p /store/postgresql/archive/%f",
         :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" },
         :late_authentication_rules => [
           { :database => "replication", :user => "replication", :address => "146.179.159.168/32" },
           { :database => "replication", :user => "replication", :address => "146.179.159.170/32" },