]> git.openstreetmap.org Git - chef.git/blobdiff - roles/db-master.rb
Merge remote-tracking branch 'github/pull/710'
[chef.git] / roles / db-master.rb
index 0bb92773968997b11b2b771a6e3b284bf484e145..36d70e9023531d7fe6461a9b335f84a2c5b2c79d 100644 (file)
@@ -3,11 +3,12 @@ description "Role applied to all the master database server"
 
 default_attributes(
   :postgresql => {
+    :monitor_queries => true,
     :settings => {
       :defaults => {
         :archive_mode => "on",
         :archive_command => "/usr/local/bin/openstreetmap-wal-g wal-push %p --walg-prevent-wal-overwrite=true",
-        :max_replication_slots => "1"
+        :wal_keep_size => "16384"
       }
     }
   }