]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/render-lowzoom.erb
Set load average limit for re-renders to number of CPU threads
[chef.git] / cookbooks / tile / templates / default / render-lowzoom.erb
index 390244a62f4be4472ce5bdf61497cad05eb85125..95e4ed6e8f943610752b21d2e67cb02f96ef0efe 100644 (file)
@@ -18,7 +18,7 @@ function update_<%= style %>
     --socket=/var/run/renderd/renderd.sock \
     --num-threads=<%= node[:cpu][:total] - 1 %> \
     --map="<%= style %>" \
-    --max-load=70 \
+    --max-load=<%= node[:cpu][:total] %> \
     --min-zoom=0 --max-zoom=12
 }