]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/community/templates/default/web_only.yml.erb
community: increase web workers to recommendation
[chef.git] / cookbooks / community / templates / default / web_only.yml.erb
index 975e13c967550a1fb0b9364c06ea95163761586a..14c3113c8c6dfdbf1e3da99a31564b80e9d26636 100644 (file)
@@ -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