X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/bd06933fd5bcb4a131b684d696bb02a57003daab..31f1fa863c0b208a44e10ef3ae1571024ef0f0ae:/cookbooks/tile/templates/default/renderd.conf.erb 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