]> git.openstreetmap.org Git - chef.git/blobdiff - roles/dev.rb
Set xmithashpolicy for Dublin machines
[chef.git] / roles / dev.rb
index 8c3de8d38181c45e3576c00ddbffec78da187056..3eec5fd91b77fdbbd972c6f47d96bfa571375361 100644 (file)
@@ -131,21 +131,20 @@ default_attributes(
     }
   },
   :postgresql => {
-    :versions => ["9.1", "12"],
+    :versions => ["13"],
     :settings => {
       :defaults => {
+        :max_connections => "500",
         :shared_buffers => "1GB",
         :work_mem => "32MB",
         :maintenance_work_mem => "64MB",
         :max_stack_depth => "4MB",
         :effective_cache_size => "4GB"
       },
-      "9.1" => {
-        :port => "5433"
-      },
-      "12" => {
+      "13" => {
         :port => "5432",
-        :wal_level => "logical"
+        :wal_level => "logical",
+        :max_replication_slots => "1"
       }
     }
   },