From c3954baee92446219606621c1b185360553a6d5d Mon Sep 17 00:00:00 2001 From: Gaurish Sharma Date: Mon, 30 Apr 2012 19:29:40 +0530 Subject: Added Short 1 line note about connection pools. I hope its okay to add this here. if not, then please revert back. --- .../generators/rails/app/templates/config/databases/postgresql.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'railties/lib/rails') 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: -- cgit v1.2.3