|
@@ -9,7 +9,7 @@ tuned_num_workers, tuned_num_threads = auto_tune
|
|
# 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.
|
|
#
|
|
#
|
|
-max_threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
|
|
|
|
|
|
+max_threads_count = ENV.fetch("RAILS_MAX_THREADS") { 3 }
|
|
min_threads_count = ENV.fetch("RAILS_MIN_THREADS") { max_threads_count }
|
|
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
|
|
|
|
|