]> git.openstreetmap.org Git - chef.git/blobdiff - roles/dev.rb
Upgrade dev server to postgres 13
[chef.git] / roles / dev.rb
index c192ac1823a1d83ab6a2595d19bb30cebe32b575..3eec5fd91b77fdbbd972c6f47d96bfa571375361 100644 (file)
@@ -131,16 +131,17 @@ default_attributes(
     }
   },
   :postgresql => {
     }
   },
   :postgresql => {
-    :versions => ["12"],
+    :versions => ["13"],
     :settings => {
       :defaults => {
     :settings => {
       :defaults => {
+        :max_connections => "500",
         :shared_buffers => "1GB",
         :work_mem => "32MB",
         :maintenance_work_mem => "64MB",
         :max_stack_depth => "4MB",
         :effective_cache_size => "4GB"
       },
         :shared_buffers => "1GB",
         :work_mem => "32MB",
         :maintenance_work_mem => "64MB",
         :max_stack_depth => "4MB",
         :effective_cache_size => "4GB"
       },
-      "12" => {
+      "13" => {
         :port => "5432",
         :wal_level => "logical",
         :max_replication_slots => "1"
         :port => "5432",
         :wal_level => "logical",
         :max_replication_slots => "1"