Skip to content

Commit 0170c94

Browse files
committed
Puma defines thread(min, max = min) so no reason to pass min twice
1 parent a7796bd commit 0170c94

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
@@ -21,7 +21,7 @@
2121
# be configured to provide at least as many connections as the number of
2222
# threads. This includes Active Record's `pool` parameter in `database.yml`.
2323
threads_count = ENV.fetch("RAILS_MAX_THREADS", 3)
24-
threads threads_count, threads_count
24+
threads threads_count
2525

2626
# Specifies the `environment` that Puma will run in.
2727
rails_env = ENV.fetch("RAILS_ENV", "development")

0 commit comments

Comments
 (0)