X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f749ba6e1a0ab9098f51bd14235dc549fa622135..d81b6d04058d580f4c0792726911d9837ead0f81:/cookbooks/tile/attributes/default.rb diff --git a/cookbooks/tile/attributes/default.rb b/cookbooks/tile/attributes/default.rb index 162a2667e..c471f2475 100644 --- a/cookbooks/tile/attributes/default.rb +++ b/cookbooks/tile/attributes/default.rb @@ -19,5 +19,5 @@ default[:postgresql][:monitor_database] = "gis" default[:accounts][:users][:tile][:status] = :role default[:apache][:event][:server_limit] = node.cpu_cores * 5 / 4 -default[:apache][:event][:max_request_workers] = node[:apache][:event][:server_limit] * node[:apache][:event][:threads_per_child] +default[:apache][:event][:max_request_workers] = node.cpu_cores * node[:apache][:event][:threads_per_child] default[:apache][:event][:max_spare_threads] = node.cpu_cores * node[:apache][:event][:threads_per_child]