]> git.openstreetmap.org Git - chef.git/blobdiff - roles/dev.rb
Use correct metric for CPU pressure
[chef.git] / roles / dev.rb
index c192ac1823a1d83ab6a2595d19bb30cebe32b575..6c867f33db4d48bf4ef682577559195b2b0dfd32 100644 (file)
@@ -127,20 +127,27 @@ default_attributes(
         :revision => "master",
         :cgimap_repository => "https://github.com/zerebubuth/openstreetmap-cgimap.git",
         :cgimap_revision => "feature/bulk_upload"
         :revision => "master",
         :cgimap_repository => "https://github.com/zerebubuth/openstreetmap-cgimap.git",
         :cgimap_revision => "feature/bulk_upload"
+      },
+      :argon2 => {
+        :repository => "https://github.com/tomhughes/openstreetmap-website.git",
+        :revision => "argon2",
+        :cgimap_repository => "https://github.com/mmd-osm/openstreetmap-cgimap.git",
+        :cgimap_revision => "feature/argon2"
       }
     }
   },
   :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"