Fix a typo in puma.rb.tt

This commit is contained in:
Jean Boussier 2024-01-10 18:42:14 +01:00
parent eac48e95db
commit 9dab3e4184
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ if rails_env == "production"
# variable to match the number of processors.
processors_count = Integer(ENV.fetch("WEB_CONCURRENCY") { 1 })
if processors_count > 1
workers worker_count
workers processors_count
else
preload_app!
end