Skip to content
Commits on Feb 24, 2009
  1. @josh

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

    josh committed
    …each request [#1927 state:resolved]
Commits on Nov 8, 2008
  1. @jeremy
Commits on Nov 7, 2008
  1. @nicksieger @lifo

    Simplify dispatcher callbacks to eliminate unnecessary stale thread p…

    nicksieger committed with lifo
    …urging. [Nick Sieger, Pratik Naik]
    Signed-off-by: Pratik Naik <>
Commits on Nov 5, 2008
  1. @lifo
  2. @Narnach @lifo

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

    Narnach committed with lifo
    …ections. [#936 state:resolved]
    Signed-off-by: Pratik Naik <>
Commits on Oct 5, 2008
  1. @lifo

    Merge docrails

    lifo committed
Commits on Oct 4, 2008
  1. @NZKoz

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

    Aliaksey Kandratsenka committed with NZKoz
    …ds when pool is empty
    Signed-off-by: Michael Koziarski <>
    [#1169 state:committed]
  2. @NZKoz

    Fix race in ConnectionPool#checkout

    Aliaksey Kandratsenka committed with NZKoz
    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 <>
Commits on Sep 4, 2008
  1. @NZKoz
  2. @nicksieger @jeremy

    Default connection allow_concurrency to false (for PostgreSQL)

    nicksieger committed with jeremy
    Signed-off-by: Jeremy Kemper <>
  3. @nicksieger @NZKoz

    Deprecate verification_timeout and verify before reset

    nicksieger committed with NZKoz
    Signed-off-by: Michael Koziarski <>
Commits on Aug 29, 2008
  1. @nicksieger
  2. @nicksieger

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

    nicksieger committed
    …esn't establish connections frequently
  3. @nicksieger

    Collapse connection pool class hierarchy; YAGNI.

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

    Make clear_active_connections! also return stale connections back to …

    nicksieger committed
    …the pool
    - also clean up some cruft remaining from per-thread connection cache
  5. @nicksieger

    Remove CachedConnectionPerThread per-thread pooling mechanism in favo…

    nicksieger committed
    …r of a fixed pool with default maximum of 5 connections
  6. @nicksieger
  7. @nicksieger
  8. @nicksieger
  9. @nicksieger
  10. @nicksieger
  11. @nicksieger
  12. @nicksieger
  13. @nicksieger
  14. @nicksieger
  15. @nicksieger
  16. @nicksieger

    Connection handling methods extracted out into separate ConnectionHan…

    nicksieger committed
    …dler class
    - delegating methods left behind
  17. @nicksieger

    Fix failure to retain value of allow_concurrency

    nicksieger committed
    - Also carry allow_concurrency value through to connection adapter
      (for postgresql)
  18. @nicksieger
  19. @nicksieger

    Introduce synchronization around connection pool access

    nicksieger committed
    - 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)
  20. @nicksieger

    Initial conversion to connection pool

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