Permalink
Browse files

Expose default value of database connection pool in generated databas…

…e.yml
  • Loading branch information...
1 parent ba80ff7 commit 39e1911463a0f50a901040b67cd29bd94dfac609 @lifo lifo committed Oct 19, 2008
@@ -18,6 +18,7 @@ development:
adapter: mysql
encoding: utf8
database: <%= app_name %>_development
+ pool: 5
username: root
password:
<% if socket -%>
@@ -33,6 +34,7 @@ test:
adapter: mysql
encoding: utf8
database: <%= app_name %>_test
+ pool: 5
username: root
password:
<% if socket -%>
@@ -45,6 +47,7 @@ production:
adapter: mysql
encoding: utf8
database: <%= app_name %>_production
+ pool: 5
username: root
password:
<% if socket -%>
@@ -12,6 +12,7 @@ development:
adapter: postgresql
encoding: unicode
database: <%= app_name %>_development
+ pool: 5
username: <%= app_name %>
password:
@@ -37,12 +38,14 @@ test:
adapter: postgresql
encoding: unicode
database: <%= app_name %>_test
+ pool: 5
username: <%= app_name %>
password:
production:
adapter: postgresql
encoding: unicode
database: <%= app_name %>_production
+ pool: 5
username: <%= app_name %>
password:
@@ -3,14 +3,17 @@
development:
adapter: sqlite
database: db/development.sqlite2
+ pool: 5
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
adapter: sqlite
database: db/test.sqlite2
+ pool: 5
production:
adapter: sqlite
database: db/production.sqlite2
+ pool: 5
@@ -3,6 +3,7 @@
development:
adapter: sqlite3
database: db/development.sqlite3
+ pool: 5
timeout: 5000
# Warning: The database defined as "test" will be erased and
@@ -11,9 +12,11 @@ development:
test:
adapter: sqlite3
database: db/test.sqlite3
+ pool: 5
timeout: 5000
production:
adapter: sqlite3
database: db/production.sqlite3
+ pool: 5
timeout: 5000

0 comments on commit 39e1911

Please sign in to comment.