mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Modified the changes to make it backward compatible
This commit is contained in:
parent
94a5125508
commit
ddfcdffb3b
1 changed files with 1 additions and 1 deletions
|
@ -4,8 +4,8 @@
|
||||||
# the maximum value specified for Puma. Default is set to 5 threads for minimum
|
# the maximum value specified for Puma. Default is set to 5 threads for minimum
|
||||||
# and maximum; this matches the default thread size of Active Record.
|
# and maximum; this matches the default thread size of Active Record.
|
||||||
#
|
#
|
||||||
min_threads_count = ENV.fetch("RAILS_MIN_THREADS") { 5 }
|
|
||||||
max_threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
|
max_threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
|
||||||
|
min_threads_count = ENV.fetch("RAILS_MIN_THREADS") { max_threads_count }
|
||||||
threads min_threads_count, max_threads_count
|
threads min_threads_count, max_threads_count
|
||||||
|
|
||||||
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
|
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
|
||||||
|
|
Loading…
Reference in a new issue