]> git.openstreetmap.org Git - chef.git/blobdiff - roles/dev.rb
Enable promscale
[chef.git] / roles / dev.rb
index 672c5e022a61d65b951e3a693b7fdb46e546b217..1da4ad0576fecff36f3782b84dd94ef461df930c 100644 (file)
@@ -121,30 +121,21 @@ default_attributes(
       :microcosms => {
         :repository => "https://github.com/openbrian/osm-microcosms.git",
         :revision => "microcosms"
       :microcosms => {
         :repository => "https://github.com/openbrian/osm-microcosms.git",
         :revision => "microcosms"
-      },
-      :upload => {
-        :repository => "https://git.openstreetmap.org/public/rails.git",
-        :revision => "master",
-        :cgimap_repository => "https://github.com/zerebubuth/openstreetmap-cgimap.git",
-        :cgimap_revision => "feature/bulk_upload"
       }
     }
   },
   :postgresql => {
       }
     }
   },
   :postgresql => {
-    :versions => ["9.1", "12"],
+    :versions => ["14"],
     :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"
       },
-      "9.1" => {
-        :port => "5433",
-        :ssl => "false"
-      },
-      "12" => {
+      "14" => {
         :port => "5432",
         :wal_level => "logical",
         :max_replication_slots => "1"
         :port => "5432",
         :wal_level => "logical",
         :max_replication_slots => "1"