]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/update-lowzoom.erb
Merge remote-tracking branch 'github/pull/378'
[chef.git] / cookbooks / tile / templates / default / update-lowzoom.erb
index 946aa2996f24f250ce6846a400b0636835ce9e1a..ce91eb48fafa98e902ee11299899d7cd83b36742 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][:total] - 2 ) / 2 %> \
+    --num-threads=<%= node[:cpu][:total] - 1 %> \
     --map="<%= @style %>" \
     --max-load=70 \
     --min-zoom=0 --max-zoom=12