From 39e1911463a0f50a901040b67cd29bd94dfac609 Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Sun, 19 Oct 2008 19:54:35 +0100 Subject: Expose default value of database connection pool in generated database.yml --- railties/configs/databases/postgresql.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'railties/configs/databases/postgresql.yml') diff --git a/railties/configs/databases/postgresql.yml b/railties/configs/databases/postgresql.yml index 36f6e5ae49..f600e054cf 100644 --- a/railties/configs/databases/postgresql.yml +++ b/railties/configs/databases/postgresql.yml @@ -12,6 +12,7 @@ development: adapter: postgresql encoding: unicode database: <%= app_name %>_development + pool: 5 username: <%= app_name %> password: @@ -37,6 +38,7 @@ test: adapter: postgresql encoding: unicode database: <%= app_name %>_test + pool: 5 username: <%= app_name %> password: @@ -44,5 +46,6 @@ production: adapter: postgresql encoding: unicode database: <%= app_name %>_production + pool: 5 username: <%= app_name %> password: -- cgit v1.2.3