Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove extra white-space on some exception messages. | Sebastian Martinez | 2011-05-23 | 1 | -1/+1 |
| | |||||
* | Fixed punctuation errors. | Sebastian Martinez | 2011-04-22 | 1 | -4/+4 |
| | |||||
* | make sure that active connections are not cleared during test when an ↵ | Aaron Patterson | 2011-03-29 | 1 | -2/+4 |
| | | | | exception happens | ||||
* | clearing active connections in the ConnectionManagement middleware if an ↵ | Aaron Patterson | 2011-03-29 | 1 | -0/+3 |
| | | | | exception happens | ||||
* | proxy body responses so we close database connections after body is flushed | Aaron Patterson | 2011-03-29 | 1 | -7/+24 |
| | |||||
* | adding active_connections? to the connection pool for finding open connections | Aaron Patterson | 2011-03-28 | 1 | -0/+6 |
| | |||||
* | adding active_connection? to the connection pool | Aaron Patterson | 2011-03-28 | 1 | -0/+6 |
| | |||||
* | primary keys should not be cleared on cache clear, fixing oracle tests | Aaron Patterson | 2011-02-08 | 1 | -2/+0 |
| | |||||
* | the connection pool caches table_exists? calls | Aaron Patterson | 2011-02-07 | 1 | -8/+14 |
| | |||||
* | adjust query counts to be consistent across databases, make sure database ↵ | Aaron Patterson | 2011-02-04 | 1 | -5/+9 |
| | | | | log the same things | ||||
* | column cache now lives on the connection pool | Aaron Patterson | 2011-02-04 | 1 | -1/+5 |
| | |||||
* | almost fisted | Aaron Patterson | 2011-02-04 | 1 | -0/+7 |
| | |||||
* | making sure primary key is set on the columns | Aaron Patterson | 2011-02-04 | 1 | -1/+9 |
| | |||||
* | connection pool can cache column, table, and primary key information | Aaron Patterson | 2011-02-04 | 1 | -0/+34 |
| | |||||
* | Use run_callbacks; the generated _run_<name>_callbacks method is not a ↵ | John Firebaugh | 2011-01-31 | 1 | -1/+1 |
| | | | | | | public interface. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Don't depend on rubygems loading thread (for Mutex) | raggi | 2010-11-25 | 1 | -0/+1 |
| | |||||
* | removing false comment | Aaron Patterson | 2010-10-07 | 1 | -2/+0 |
| | |||||
* | fix ruby 1.9 deadlock problem, fixes #5736 add connection pool tests | Hemant Kumar | 2010-10-06 | 1 | -8/+6 |
| | |||||
* | removing useless ternary | Aaron Patterson | 2010-08-19 | 1 | -1/+1 |
| | |||||
* | refactor if / else to ||= | Aaron Patterson | 2010-08-18 | 1 | -5/+1 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -1/+1 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | reduce the number of times current_connection_id is called in with_connection() | Aaron Patterson | 2010-08-06 | 1 | -4/+5 |
| | |||||
* | unfactoring clear_stale_cached_connections! | Aaron Patterson | 2010-07-16 | 1 | -16/+7 |
| | |||||
* | only test for existence of +pool+ once | Aaron Patterson | 2010-07-16 | 1 | -2/+4 |
| | |||||
* | use an attr_reader for performance | Aaron Patterson | 2010-07-16 | 1 | -4/+2 |
| | |||||
* | Fix connection reloading in development mode. [#4929 state:resolved] | Edgars Beigarts | 2010-06-22 | 1 | -1/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | edit pass: the names of Rails components have a space, ie, "Active Record", ↵ | Xavier Noria | 2010-06-14 | 1 | -6/+6 |
| | | | | not "ActiveRecord" | ||||
* | Whoops. _run_*_callbacks is private | wycats | 2010-06-04 | 1 | -1/+1 |
| | |||||
* | Use faster form of running callbacks | wycats | 2010-06-04 | 1 | -1/+1 |
| | |||||
* | Expose connections available in the connection pool. | José Valim | 2010-01-11 | 1 | -1/+1 |
| | |||||
* | Modify connection pool callbacks to be compatible w/ new style | Nick Sieger | 2009-10-16 | 1 | -6/+8 |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Merge docrails | Pratik Naik | 2009-07-25 | 1 | -1/+1 |
| | |||||
* | Cherry-pick core extensions | Jeremy Kemper | 2009-05-13 | 1 | -0/+1 |
| | |||||
* | Ensure ActiveRecord::Base.connection_pool.with_connection creates a new ↵ | steve | 2009-05-01 | 1 | -5/+6 |
| | | | | | | connection only when needed [#1752 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ensure ActiveRecord session store's connections are checked in after each ↵ | Joshua Peek | 2009-02-24 | 1 | -0/+16 |
| | | | | request [#1927 state:resolved] | ||||
* | Timeout the connection pool monitor on ruby 1.8 only | Jeremy Kemper | 2008-11-08 | 1 | -3/+11 |
| | |||||
* | Simplify dispatcher callbacks to eliminate unnecessary stale thread purging. ↵ | Nick Sieger | 2008-11-08 | 1 | -4/+1 |
| | | | | | | [Nick Sieger, Pratik Naik] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Make sure ActiveRecord::Base.connected? doesn't raise an exception for ↵ | Pratik Naik | 2008-11-06 | 1 | -1/+2 |
| | | | | defined connections | ||||
* | Ensure ActiveRecord::ConnectionPool.connected? handles undefined ↵ | Wes Oldenbeuving | 2008-11-06 | 1 | -1/+1 |
| | | | | | | connections. [#936 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Merge docrails | Pratik Naik | 2008-10-05 | 1 | -3/+71 |
| | |||||
* | made ConnectionPool#checkout more robust by trying to loot dead threads when ↵ | Aliaksey Kandratsenka | 2008-10-04 | 1 | -1/+5 |
| | | | | | | | | pool is empty Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1169 state:committed] | ||||
* | Fix race in ConnectionPool#checkout | Aliaksey Kandratsenka | 2008-10-04 | 1 | -15/+14 |
| | | | | | | | After releasing monitor some connection(s) may appear in pool before monitor is re-aquired. When this happens we'll wait for connection which is already available. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Handle connection timeouts with a slightly nicer error message. | Michael Koziarski | 2008-09-04 | 1 | -1/+1 |
| | |||||
* | Default connection allow_concurrency to false (for PostgreSQL) | Nick Sieger | 2008-09-04 | 1 | -2/+1 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Deprecate verification_timeout and verify before reset | Nick Sieger | 2008-09-04 | 1 | -4/+2 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Minor tweak to retrieve_connection_pool -- recurse instead of loop | Nick Sieger | 2008-08-29 | 1 | -6/+4 |
| | |||||
* | Remove some synchronization that's probably overkill, assuming one doesn't ↵ | Nick Sieger | 2008-08-29 | 1 | -10/+1 |
| | | | | establish connections frequently | ||||
* | Collapse connection pool class hierarchy; YAGNI. | Nick Sieger | 2008-08-29 | 1 | -112/+48 |
| | | | | | - Add connection checkin and checkout callbacks to adapter to allow adapter-specific customization of behavior (e.g., JRuby w/ JNDI) | ||||
* | Make clear_active_connections! also return stale connections back to the pool | Nick Sieger | 2008-08-29 | 1 | -30/+23 |
| | | | | - also clean up some cruft remaining from per-thread connection cache | ||||
* | Remove CachedConnectionPerThread per-thread pooling mechanism in favor of a ↵ | Nick Sieger | 2008-08-29 | 1 | -17/+4 |
| | | | | fixed pool with default maximum of 5 connections |