Skip to content

Commit 9dab3e4

Browse files
committed
Fix a typo in puma.rb.tt
1 parent eac48e9 commit 9dab3e4

File tree

1 file changed

+1
-1
lines changed
  • railties/lib/rails/generators/rails/app/templates/config

1 file changed

+1
-1
lines changed

railties/lib/rails/generators/rails/app/templates/config/puma.rb.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if rails_env == "production"
3434
# variable to match the number of processors.
3535
processors_count = Integer(ENV.fetch("WEB_CONCURRENCY") { 1 })
3636
if processors_count > 1
37-
workers worker_count
37+
workers processors_count
3838
else
3939
preload_app!
4040
end

0 commit comments

Comments
 (0)