]> git.openstreetmap.org Git - chef.git/blobdiff - roles/db-master.rb
Remove role for orm
[chef.git] / roles / db-master.rb
index 1afcae0deb380386cf66465b61131cd2b7d3c0f1..5e3f16f3f28c2741c04b4e6b2ca213ef56d50d80 100644 (file)
@@ -7,8 +7,8 @@ default_attributes(
       :defaults => {
         :wal_level => "logical",
         :archive_mode => "on",
-        :archive_command => "/usr/local/bin/openstreetmap-wal-g wal-push %p",
-        :max_wal_senders => "5",
+        :archive_command => "/usr/local/bin/openstreetmap-wal-g wal-push %p --walg-prevent-wal-overwrite=true",
+        :max_wal_senders => "10",
         :max_replication_slots => "1",
         :late_authentication_rules => [
           { :database => "replication", :user => "replication", :address => "10.0.0.4/32" },   # snap-02