Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 16, 2009
  1. @nicksieger @wycats

    Modify connection pool callbacks to be compatible w/ new style

    nicksieger authored wycats committed
    Signed-off-by: Yehuda Katz <wycats@gmail.com>
Commits on Nov 7, 2008
  1. @nicksieger @lifo

    Simplify dispatcher callbacks to eliminate unnecessary stale thread p…

    nicksieger authored lifo committed
    …urging. [Nick Sieger, Pratik Naik]
    
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Commits on Sep 4, 2008
  1. @nicksieger @jeremy

    Default connection allow_concurrency to false (for PostgreSQL)

    nicksieger authored jeremy committed
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  2. @nicksieger @NZKoz

    Deprecate verification_timeout and verify before reset

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

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

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

    Collapse connection pool class hierarchy; YAGNI.

    nicksieger authored
    - 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 authored
    …the pool
    
    - also clean up some cruft remaining from per-thread connection cache
  5. @nicksieger

    Remove CachedConnectionPerThread per-thread pooling mechanism in favo…

    nicksieger authored
    …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 authored
    …dler class
    
    - delegating methods left behind
  17. @nicksieger

    Fix failure to retain value of allow_concurrency

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

    Introduce synchronization around connection pool access

    nicksieger authored
    - 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 authored
    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.