]> WPIA git - infra.git/blobdiff - environments/production/manifests/postgres-primary.pp
fix: replication needs max_wal_senders
[infra.git] / environments / production / manifests / postgres-primary.pp
index 9d28846af48431ffd362b705c3bcd12c6e605fda..f4e7635f2a05b96e328b70e1ad458a12b0644e57 100644 (file)
@@ -81,4 +81,8 @@ node postgres-primary {
     target => '/etc/postgresql/9.6/main/postgresql.conf',
     value => 'replica'
   }
+  postgresql_conf{'max_wal_senders':
+    target => '/etc/postgresql/9.6/main/postgresql.conf',
+    value => '2'
+  }
 }