]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/render-lowzoom.erb
Merge pull request #702 from lonvia/nominatim-to-debian
[chef.git] / cookbooks / tile / templates / default / render-lowzoom.erb
index 834eecc3040b79ea0b00b7e341de2e404ff3b39d..eb3e2e84e2fcb7691e8ff59c4668bdad0988eb3f 100644 (file)
@@ -16,7 +16,7 @@ function update_<%= style %>
     --timestamp=${timestamp} \
     --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