aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/threaded_connections_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Make clear_active_connections! also return stale connections back to the poolNick Sieger2008-08-291-91/+0
| | | | - also clean up some cruft remaining from per-thread connection cache
* Remove CachedConnectionPerThread per-thread pooling mechanism in favor of a ↵Nick Sieger2008-08-291-0/+2
| | | | fixed pool with default maximum of 5 connections
* Deprecate allow_concurrency and make it have no effectNick Sieger2008-08-291-36/+6
|
* Fix typo: was using brackets instead of parens. Must need more sleep.Nick Sieger2008-08-291-0/+10
|
* Fix checkin method, add a couple more testsNick Sieger2008-08-291-4/+34
|
* Nearing the finish line. Initial fixed-size connection pool implemented, ↵Nick Sieger2008-08-291-0/+36
| | | | more docs
* Introduce synchronization around connection pool accessNick2008-08-291-0/+4
| | | | | | - 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)
* Rename defined_connections to connection_poolsNick2008-08-291-1/+1
| | | | | - Distinguis meaning of "active_connections" to always mean connections associated with the current thread
* Initial conversion to connection poolNick2008-08-291-24/+15
| | | | | | 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.
* Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/railsJeremy Kemper2008-01-211-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix pathsJeremy Kemper2008-01-181-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move tests to casesJeremy Kemper2008-01-181-0/+48
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de