]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/render-lowzoom.erb
Allow overwrite when updating forum style
[chef.git] / cookbooks / tile / templates / default / render-lowzoom.erb
index 62a73b77b816c6277bc0336a85054e22483a3707..55a98a754557af9e2478e0e1c952b6ed4b9f47cb 100644 (file)
@@ -13,10 +13,10 @@ timestamp=$(date +%s)
 function update_<%= style %>
 {
   render_old \
-    --timestamp=${timestamp} \        
+    --timestamp=${timestamp} \
     --tile-dir=/srv/tile.openstreetmap.org/tiles \
     --socket=/var/run/renderd/renderd.sock \
-    --num-threads=<%= ( node[:cpu][:total] - 2 ) / 2 %> \
+    --num-threads=<%= node[:cpu][:total] - 2 %> \
     --map="<%= style %>" \
     --max-load=70 \
     --min-zoom=0 --max-zoom=12