aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/source_annotation_extractor.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2012-02-26 12:22:31 -0800
committerXavier Noria <fxn@hashref.com>2012-02-26 12:46:37 -0800
commit9b2c38b7bd582d9712c3779294a9bccde7bbd548 (patch)
tree5edc0af04c68c5385dddb91a400a3fb20c18698d /railties/lib/rails/source_annotation_extractor.rb
parent74bc920e84b985724a93c10a3ff21090ed1b9f8e (diff)
downloadrails-9b2c38b7bd582d9712c3779294a9bccde7bbd548.tar.gz
rails-9b2c38b7bd582d9712c3779294a9bccde7bbd548.tar.bz2
rails-9b2c38b7bd582d9712c3779294a9bccde7bbd548.zip
let the connection pool of new applications have size 1 rather than 5
The majority of Rails applications are multiprocess, people may wonder why rails new generates a default pool of 5, does my application need a connection pool of 5? By generating a default of 1 database.yml is much more clear, and with the comment people know what is the connection pool for, and they know it has to be bigger for multithread apps.
Diffstat (limited to 'railties/lib/rails/source_annotation_extractor.rb')
0 files changed, 0 insertions, 0 deletions