]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/recipes/default.rb
tile: lower low zoom threads further
[chef.git] / cookbooks / tile / recipes / default.rb
index 4ceba4a184466522b7bb748fe491e9571d8e339b..961d71ea21cfe19f8bba44f123b7a69136d2ae6c 100644 (file)
@@ -282,7 +282,7 @@ end
 
 nodejs_package "carto"
 
-lowzoom_threads = [node.cpu_cores - 1, node[:memory][:total].to_f / 4194304].min.floor
+lowzoom_threads = [node.cpu_cores - 1, node[:memory][:total].to_f / 6291456].min.floor
 
 systemd_service "update-lowzoom@" do
   description "Low zoom tile update service for %i layer"