]> git.openstreetmap.org Git - chef.git/commitdiff
tile: lower low zoom threads further
authorGrant Slater <github@firefishy.com>
Mon, 18 Dec 2023 13:41:18 +0000 (13:41 +0000)
committerGrant Slater <github@firefishy.com>
Mon, 18 Dec 2023 13:41:18 +0000 (13:41 +0000)
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"