X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/bd06933fd5bcb4a131b684d696bb02a57003daab..2dc17000f8f4c51332d20d3b28fa746367dd7838:/cookbooks/tile/templates/default/renderd.conf.erb?ds=inline diff --git a/cookbooks/tile/templates/default/renderd.conf.erb b/cookbooks/tile/templates/default/renderd.conf.erb index 60206d1ce..d29c58aa7 100644 --- a/cookbooks/tile/templates/default/renderd.conf.erb +++ b/cookbooks/tile/templates/default/renderd.conf.erb @@ -2,7 +2,7 @@ [renderd] socketname=/var/run/renderd/renderd.sock -num_threads=<%= [4, node.dig('cpu', 'total').to_i - 1, node.dig('cpu', 'cores').to_i - 1].max %> +num_threads=<%= node.cpu_cores - 1 %> tile_dir=/srv/tile.openstreetmap.org/tiles stats_file=/var/run/renderd/renderd.stats