1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Ruby on Rails
Find a file
Jeremy Kemper 6f932b4790 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]
2008-09-02 18:32:54 +02:00
actionmailer Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, but it has since been removed from 1.9. 2008-08-31 13:20:15 -07:00
actionpack Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, but it has since been removed from 1.9. 2008-08-31 13:20:15 -07:00
activemodel Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, but it has since been removed from 1.9. 2008-08-31 13:20:15 -07:00
activerecord Database connections are now pooled, one pool per #establish_connection call. 2008-09-02 18:32:54 +02:00
activeresource Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, but it has since been removed from 1.9. 2008-08-31 13:20:15 -07:00
activesupport Database connections are now pooled, one pool per #establish_connection call. 2008-09-02 18:32:54 +02:00
ci Be more careful 2008-08-26 12:21:48 +02:00
doc/template Horo rdoc template 2008-06-22 10:38:25 -07:00
railties Database connections are now pooled, one pool per #establish_connection call. 2008-09-02 18:32:54 +02:00
.gitignore The 'rails' command was broken by the last commit. Fix that. 2008-08-26 16:28:41 +02:00
pushgems.rb No more svn version numbers to rely on, use timestamps instead 2008-05-11 18:21:47 -05:00
Rakefile Horo rdoc template 2008-06-22 10:38:25 -07:00
release.rb Making ready for release of 2.1 2008-05-31 17:03:03 -07:00