diff options
author | Gaurish Sharma <contact@gaurishsharma.com> | 2012-04-30 19:29:40 +0530 |
---|---|---|
committer | Gaurish Sharma <contact@gaurishsharma.com> | 2012-04-30 19:29:40 +0530 |
commit | c3954baee92446219606621c1b185360553a6d5d (patch) | |
tree | a5b6d312e494ae70e7d3242338383efbe4aceccd /railties/lib | |
parent | 620cc9af11977b6e18b54fdf740437bb0ecdf498 (diff) | |
download | rails-c3954baee92446219606621c1b185360553a6d5d.tar.gz rails-c3954baee92446219606621c1b185360553a6d5d.tar.bz2 rails-c3954baee92446219606621c1b185360553a6d5d.zip |
Added Short 1 line note about connection pools.
I hope its okay to add this here. if not, then please revert back.
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml b/railties/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml index 467a4e725f..d67cd5be53 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml +++ b/railties/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml @@ -16,6 +16,8 @@ development: adapter: postgresql encoding: unicode database: <%= app_name %>_development + + # Reduce overhead by distributing requests across a pool of connections. pool: 5 username: <%= app_name %> password: |