]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/update-lowzoom.erb
community: Disable maxmind download for now
[chef.git] / cookbooks / tile / templates / default / update-lowzoom.erb
index 81e138076b72066581124f1225c8f5557880172c..0455493d993bc2f2a2830d63eab95228fc84a4b4 100644 (file)
@@ -12,7 +12,7 @@ function update_tiles
     --timestamp=$(stat -c %Y "/srv/tile.openstreetmap.org/styles/<%= @style %>/project.xml") \
     --tile-dir=/srv/tile.openstreetmap.org/tiles \
     --socket=/var/run/renderd/renderd.sock \
-    --num-threads=<%= node.cpu_cores - 1 %> \
+    --num-threads=<%= @threads %> \
     --map="<%= @style %>" \
     --max-load=<%= node.cpu_cores - 1 %> \
     --min-zoom=0 --max-zoom=12