Skip to content

Commit afbde03

Browse files
author
David Heinemeier Hansson
committed
Remove odd excess comment lines
1 parent 0f0ec99 commit afbde03

File tree

1 file changed

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

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,18 @@
77
# Any libraries that use thread pools should be configured to match
88
# the maximum value specified for Puma. Default is set to 5 threads for minimum
99
# and maximum; this matches the default thread size of Active Record.
10-
#
1110
max_threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
1211
min_threads_count = ENV.fetch("RAILS_MIN_THREADS") { max_threads_count }
1312
threads min_threads_count, max_threads_count
1413

1514
# Specifies the `worker_timeout` threshold that Puma will use to wait before
1615
# terminating a worker in development environments.
17-
#
1816
worker_timeout 3600 if ENV.fetch("RAILS_ENV", "development") == "development"
1917

2018
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
21-
#
2219
port ENV.fetch("PORT") { 3000 }
2320

2421
# Specifies the `environment` that Puma will run in.
25-
#
2622
environment ENV.fetch("RAILS_ENV") { "development" }
2723

2824
# Specifies the `pidfile` that Puma will use.

0 commit comments

Comments
 (0)