]> git.openstreetmap.org Git - chef.git/blobdiff - roles/db-master.rb
community: include maxmind account id
[chef.git] / roles / db-master.rb
index 3ebd79e826800fa1c422bb921938ebbb7eff91ab..36d70e9023531d7fe6461a9b335f84a2c5b2c79d 100644 (file)
@@ -3,10 +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"
+        :archive_command => "/usr/local/bin/openstreetmap-wal-g wal-push %p --walg-prevent-wal-overwrite=true",
+        :wal_keep_size => "16384"
       }
     }
   }