X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8e77cc69ebcdf9bb3e261e554b862e0930d5e492..f66d8484209d0d6d1ade5bf7e0c9e292e49f80a9:/roles/db-master.rb 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