]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/renderd.conf.erb
Run chrony_exporter for prometheus
[chef.git] / cookbooks / tile / templates / default / renderd.conf.erb
index 8f441db2ca216269b8a627b85a1455861e02ad39..d29c58aa7728f9512a6fe22d2dac67269319ed9e 100644 (file)
@@ -2,7 +2,7 @@
 
 [renderd]
 socketname=/var/run/renderd/renderd.sock
-num_threads=<%= node[:cpu][:total] - 1 %>
+num_threads=<%= node.cpu_cores - 1 %>
 tile_dir=/srv/tile.openstreetmap.org/tiles
 stats_file=/var/run/renderd/renderd.stats