aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails.rb
diff options
context:
space:
mode:
authorEugene Kenny <elkenny@gmail.com>2016-05-18 01:07:42 +0100
committerEugene Kenny <elkenny@gmail.com>2016-05-24 05:12:33 +0100
commit1bb7615c3b3a12199623f845ce08145f331d3d68 (patch)
treeb493b6e559828a8093e126e1ef810ec99042b0b7 /railties/lib/rails.rb
parentb98c1f948903cef4bdd88a8d6777e480f5770d2f (diff)
downloadrails-1bb7615c3b3a12199623f845ce08145f331d3d68.tar.gz
rails-1bb7615c3b3a12199623f845ce08145f331d3d68.tar.bz2
rails-1bb7615c3b3a12199623f845ce08145f331d3d68.zip
Use RAILS_MAX_THREADS as pool size on all adapters
When RAILS_MAX_THREADS is set, the postgresql adapter uses it as the connection pool size, so that there are always enough connections available to serve Action Cable requests. The same logic applies when using any other adapter.
Diffstat (limited to 'railties/lib/rails.rb')
0 files changed, 0 insertions, 0 deletions