]> git.openstreetmap.org Git - chef.git/commitdiff
Drop memory constraint on low zoom render threads
authorTom Hughes <tom@compton.nu>
Thu, 21 Dec 2023 18:34:53 +0000 (18:34 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 21 Dec 2023 18:34:53 +0000 (18:34 +0000)
cookbooks/tile/recipes/default.rb

index 28d51bc20b9671593b160925c2210686c0cd22e4..6cfe88d45f31ff69540737cbd908a0a365292b25 100644 (file)
@@ -287,7 +287,7 @@ end
 
 nodejs_package "carto"
 
-lowzoom_threads = [node.cpu_cores - 1, node[:memory][:total].to_f / 6291456].min.floor
+lowzoom_threads = node.cpu_cores - 1
 
 systemd_service "update-lowzoom@" do
   description "Low zoom tile update service for %i layer"