<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array"/>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>300754509b6990b387b056c122e90f50a79eeb81</id>
    </parent>
    <parent>
      <id>ebfa43c423ac16bb699424d8d3db11855dd79a91</id>
    </parent>
  </parents>
  <author>
    <name>Jeremy Kemper</name>
    <email>jeremy@bitsweat.net</email>
  </author>
  <url>http://github.com/rails/rails/commit/6f932b4790371e548c0df9033da96b2cf8f51dcc</url>
  <id>6f932b4790371e548c0df9033da96b2cf8f51dcc</id>
  <committed-date>2008-09-02T09:32:54-07:00</committed-date>
  <authored-date>2008-09-02T09:21:36-07:00</authored-date>
  <message>Database connections are now pooled, one pool per #establish_connection call.
Pools start out empty and grow as necessary to a maximum size (default is 5,
configure size with key 'pool' in your database configuration). If no
connections are available, a thread will wait up to a 'wait_timeout' time
(default is 5 seconds).

Connections are verified and reset when checked out from the pool (usually
upon first access to ActiveRecord::Base.connection), and returned back to the
pool after each request.

If you would like to use connection pools outside of ActionPack, there is an
ActiveRecord::Base.connection_pool method that gives you access to the pool,
and you can manually checkout/checkin connections, or supply a block to
ActiveRecord::Base.connection_pool.with_connection which takes care of the
checkout/checkin for you.

[#936 state:resolved]</message>
  <tree>b62c70a90a1716f49df5630e14ef1d847e7a7138</tree>
  <committer>
    <name>Jeremy Kemper</name>
    <email>jeremy@bitsweat.net</email>
  </committer>
</commit>
