aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Clean up the code, get rid of reserve/release, add some more docsNick Sieger2008-08-291-34/+51
|
* Extract a base class for connection pools, start to flesh out ↵Nick Sieger2008-08-291-84/+105
| | | | reserve/release API
* Split connection handler into single- and multiple-thread versions.Nick Sieger2008-08-291-26/+40
|
* Connection handling methods extracted out into separate ConnectionHandler classNick Sieger2008-08-291-0/+89
| | | | - delegating methods left behind
* Fix failure to retain value of allow_concurrencyNick2008-08-291-1/+2
| | | | | - Also carry allow_concurrency value through to connection adapter (for postgresql)
* Add synchronization to connection pool alsoNick2008-08-291-3/+11
|
* Introduce synchronization around connection pool accessNick2008-08-291-8/+7
| | | | | | - use new active support Module#synchronize - allow_concurrency now switches between a null monitor and a regular monitor (defaulting to null monitor to avoid overhead)
* Initial conversion to connection poolNick2008-08-291-0/+128
So far so good, tests still run clean. Next steps: synchronize connection pool access and modification, and change allow_concurrency to simply switch a real lock for a null lock.