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