From: Grant Slater Date: Wed, 5 Oct 2022 10:18:42 +0000 (+0100) Subject: community: increase web workers to recommendation X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/8338ca56db576db8ec53f6f6fb3907e2ca370f75?hp=00cc4e8d508c65216155a282b0f4c0f10b4c65b7 community: increase web workers to recommendation --- diff --git a/cookbooks/community/templates/default/web_only.yml.erb b/cookbooks/community/templates/default/web_only.yml.erb index 975e13c96..14c3113c8 100644 --- a/cookbooks/community/templates/default/web_only.yml.erb +++ b/cookbooks/community/templates/default/web_only.yml.erb @@ -32,7 +32,7 @@ env: ## How many concurrent web requests are supported? Depends on memory and CPU cores. ## will be set automatically by bootstrap based on detected CPUs, or you can override - UNICORN_WORKERS: 8 + UNICORN_WORKERS: <%= node[:cpu][:total] %> ## TODO: The domain name this Discourse instance will respond to DISCOURSE_HOSTNAME: community.openstreetmap.org