We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b469da commit 5ea4729Copy full SHA for 5ea4729
railties/lib/rails/generators/rails/app/templates/config/puma.rb
@@ -4,7 +4,7 @@
4
# the maximum value specified for Puma. Default is set to 5 threads for minimum
5
# and maximum, this matches the default thread size of Active Record.
6
#
7
-threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
8
threads threads_count, threads_count
9
10
# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
0 commit comments