From 8338ca56db576db8ec53f6f6fb3907e2ca370f75 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Wed, 5 Oct 2022 11:18:42 +0100 Subject: [PATCH] community: increase web workers to recommendation --- cookbooks/community/templates/default/web_only.yml.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.2