Skip to content
This repository

Nov 24, 2010

  1. James Tucker

    Don't depend on rubygems loading thread (for Mutex)

    raggi authored tenderlove committed

Oct 06, 2010

  1. fix ruby 1.9 deadlock problem, fixes #5736 add connection pool tests

    Hemant Kumar authored tenderlove committed

Aug 19, 2010

  1. Aaron Patterson

    removing useless ternary

    tenderlove authored
  2. Aaron Patterson

    refactor if / else to ||=

    tenderlove authored

Aug 14, 2010

  1. Santiago Pastorino

    Deletes trailing whitespaces (over text files only find * -type f -ex…

    …ec sed 's/[ \t]*$//' -i {} \;)
    spastorino authored

Aug 06, 2010

  1. Aaron Patterson

    reduce the number of times current_connection_id is called in with_co…

    tenderlove authored

Jul 16, 2010

  1. Aaron Patterson

    unfactoring clear_stale_cached_connections!

    tenderlove authored
  2. Aaron Patterson

    only test for existence of +pool+ once

    tenderlove authored
  3. Aaron Patterson

    use an attr_reader for performance

    tenderlove authored

Jun 22, 2010

  1. Edgars Beigarts

    Fix connection reloading in development mode. [#4929 state:resolved]

    Signed-off-by: José Valim <>
    ebeigarts authored josevalim committed

Jun 14, 2010

  1. Xavier Noria

    edit pass: the names of Rails components have a space, ie, "Active Re…

    …cord", not "ActiveRecord"
    fxn authored

Jun 05, 2010

  1. Yehuda Katz

    Whoops. _run_*_callbacks is private

    wycats authored
  2. Yehuda Katz

    Use faster form of running callbacks

    wycats authored

Jan 11, 2010

  1. José Valim

    Expose connections available in the connection pool.

    josevalim authored

Oct 16, 2009

  1. Nick Sieger

    Modify connection pool callbacks to be compatible w/ new style

    Signed-off-by: Yehuda Katz <>
    nicksieger authored wycats committed

Jul 25, 2009

  1. Pratik

    Merge docrails

    lifo authored

May 13, 2009

  1. Jeremy Kemper

    Cherry-pick core extensions

    jeremy authored

May 01, 2009

  1. coderrr

    Ensure ActiveRecord::Base.connection_pool.with_connection creates a n…

    …ew connection only when needed [#1752 state:resolved]
    Signed-off-by: Pratik Naik <>
    coderrr authored lifo committed

Feb 24, 2009

  1. Joshua Peek

    Ensure ActiveRecord session store's connections are checked in after …

    …each request [#1927 state:resolved]
    josh authored

Nov 08, 2008

  1. Jeremy Kemper

    Timeout the connection pool monitor on ruby 1.8 only

    jeremy authored

Nov 07, 2008

  1. Nick Sieger

    Simplify dispatcher callbacks to eliminate unnecessary stale thread p…

    …urging. [Nick Sieger, Pratik Naik]
    Signed-off-by: Pratik Naik <>
    nicksieger authored lifo committed

Nov 05, 2008

  1. Pratik

    Make sure ActiveRecord::Base.connected? doesn't raise an exception fo…

    …r defined connections
    lifo authored
  2. Wes Oldenbeuving

    Ensure ActiveRecord::ConnectionPool.connected? handles undefined conn…

    …ections. [#936 state:resolved]
    Signed-off-by: Pratik Naik <>
    Narnach authored lifo committed

Oct 05, 2008

  1. Pratik

    Merge docrails

    lifo authored

Oct 04, 2008

  1. Aliaksey Kandratsenka (aka Aliaksei Kandratsenka)

    made ConnectionPool#checkout more robust by trying to loot dead threa…

    …ds when pool is empty
    Signed-off-by: Michael Koziarski <>
    [#1169 state:committed]
    alk authored NZKoz committed
  2. Aliaksey Kandratsenka (aka Aliaksei Kandratsenka)

    Fix race in ConnectionPool#checkout

    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 <>
    alk authored NZKoz committed

Sep 04, 2008

  1. Michael Koziarski

    Handle connection timeouts with a slightly nicer error message.

    NZKoz authored
  2. Nick Sieger

    Default connection allow_concurrency to false (for PostgreSQL)

    Signed-off-by: Jeremy Kemper <>
    nicksieger authored jeremy committed
  3. Nick Sieger

    Deprecate verification_timeout and verify before reset

    Signed-off-by: Michael Koziarski <>
    nicksieger authored NZKoz committed

Aug 29, 2008

  1. Nick Sieger

    Minor tweak to retrieve_connection_pool -- recurse instead of loop

    nicksieger authored
  2. Nick Sieger

    Remove some synchronization that's probably overkill, assuming one do…

    …esn't establish connections frequently
    nicksieger authored
  3. Nick Sieger

    Collapse connection pool class hierarchy; YAGNI.

    - Add connection checkin and checkout callbacks to adapter to allow
      adapter-specific customization of behavior (e.g., JRuby w/ JNDI)
    nicksieger authored
  4. Nick Sieger

    Make clear_active_connections! also return stale connections back to …

    …the pool
    - also clean up some cruft remaining from per-thread connection cache
    nicksieger authored
  5. Nick Sieger

    Remove CachedConnectionPerThread per-thread pooling mechanism in favo…

    …r of a fixed pool with default maximum of 5 connections
    nicksieger authored
  6. Nick Sieger

    Deprecate allow_concurrency and make it have no effect

    nicksieger authored
Something went wrong with that request. Please try again.