X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8e77cc69ebcdf9bb3e261e554b862e0930d5e492..d5e190cfd2f343c0e0480f740473a0751b330eff:/roles/db-master.rb?ds=sidebyside diff --git a/roles/db-master.rb b/roles/db-master.rb index 1afcae0de..5e3f16f3f 100644 --- a/roles/db-master.rb +++ b/roles/db-master.rb @@ -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