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 abd8179 commit 461b7f3Copy full SHA for 461b7f3
railties/lib/rails/generators/rails/app/templates/config/puma.rb.tt
@@ -20,8 +20,7 @@
20
# Any libraries that use a connection pool or another resource pool should
21
# be configured to provide at least as many connections as the number of
22
# threads. This includes Active Record's `pool` parameter in `database.yml`.
23
-threads_count = ENV.fetch("RAILS_MAX_THREADS", 3)
24
-threads threads_count
+threads ENV.fetch("RAILS_MAX_THREADS", 3)
25
26
# Specifies the `environment` that Puma will run in.
27
rails_env = ENV.fetch("RAILS_ENV", "development")
0 commit comments