]> git.openstreetmap.org Git - chef.git/blobdiff - roles/tile.rb
Update carto stylesheet to v2.22.0
[chef.git] / roles / tile.rb
index 6f40eb0301fd0c498943ec259aee9aa8eeced7f8..4112461d7a184a4582dd5bb2ba4c5f392201e088 100644 (file)
@@ -44,6 +44,13 @@ default_attributes(
       :parameters => {
         "net.core.somaxconn" => 10000
       }
+    },
+    :kernel_scheduler_tune => {
+      :comment => "Tune kernel scheduler preempt",
+      :parameters => {
+        "kernel.sched_min_granularity_ns" => 10000000,
+        "kernel.sched_wakeup_granularity_ns" => 15000000
+      }
     }
   },
   :tile => {
@@ -55,7 +62,8 @@ default_attributes(
         :url => "http://planet.openstreetmap.org/historical-shapefiles/world_boundaries-spherical.tgz"
       },
       :simplified_land_polygons => {
-        :url => "http://data.openstreetmapdata.com/simplified-land-polygons-complete-3857.zip"
+        :url => "http://data.openstreetmapdata.com/simplified-land-polygons-complete-3857.zip",
+        :refresh => true
       },
       :admin_boundaries => {
         :url => "http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/ne_110m_admin_0_boundary_lines_land.zip",
@@ -68,13 +76,14 @@ default_attributes(
         :processed => "ne_10m_populated_places_fixed.shp"
       },
       :land_polygons => {
-        :url => "http://data.openstreetmapdata.com/land-polygons-split-3857.zip"
+        :url => "http://data.openstreetmapdata.com/land-polygons-split-3857.zip",
+        :refresh => true
       }
     },
     :styles => {
       :default => {
         :repository => "git://github.com/gravitystorm/openstreetmap-carto.git",
-        :revision => "v2.3.1",
+        :revision => "v2.22.0",
         :max_zoom => 19
       }
     }