Skip to content
This repository

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 <pratiknaik@gmail.com>
    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 <pratiknaik@gmail.com>
    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 <michael@koziarski.com>
    
    [#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 <michael@koziarski.com>
    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 <jeremy@bitsweat.net>
    nicksieger authored jeremy committed
  3. Nick Sieger

    Deprecate verification_timeout and verify before reset

    Signed-off-by: Michael Koziarski <michael@koziarski.com>
    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
  7. Nick Sieger

    Add connection reset and verification upon each connection checkout

    nicksieger authored
  8. Nick Sieger

    Fix typo: was using brackets instead of parens. Must need more sleep.

    nicksieger authored
  9. Nick Sieger

    Favor existing connections over new ones if available

    nicksieger authored
  10. Nick Sieger

    More doco and class/method renames. Now have a strategy for integrati…

    …on with ActionPack.
    nicksieger authored
  11. Nick Sieger

    Fix checkin method, add a couple more tests

    nicksieger authored
  12. Nick Sieger

    Nearing the finish line. Initial fixed-size connection pool implement…

    …ed, more docs
    nicksieger authored
  13. Nick Sieger

    Clean up the code, get rid of reserve/release, add some more docs

    nicksieger authored
  14. Nick Sieger

    Extract a base class for connection pools, start to flesh out reserve…

    …/release API
    nicksieger authored
  15. Nick Sieger

    Split connection handler into single- and multiple-thread versions.

    nicksieger authored
  16. Nick Sieger

    Connection handling methods extracted out into separate ConnectionHan…

    …dler class
    
    - delegating methods left behind
    nicksieger authored
  17. Nick Sieger

    Fix failure to retain value of allow_concurrency

    - Also carry allow_concurrency value through to connection adapter
      (for postgresql)
    nicksieger authored
  18. Nick Sieger

    Add synchronization to connection pool also

    nicksieger authored
  19. Nick Sieger

    Introduce synchronization around connection pool access

    - 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)
    nicksieger authored
  20. Nick Sieger

    Initial conversion to connection pool

    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.
    nicksieger authored
Something went wrong with that request. Please try again.