Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 8, 2008
  1. Jeremy Kemper
Commits on Nov 7, 2008
  1. Nick Sieger Pratik

    Simplify dispatcher callbacks to eliminate unnecessary stale thread p…

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

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

    Narnach authored lifo committed
    …ections. [#936 state:resolved]
    Signed-off-by: Pratik Naik <>
Commits on Oct 30, 2008
  1. Joshua Peek

    It is not necessary to store QueryCache in a thread local since the c…

    josh authored
    …ache is local to the connection object which is managed by the connection pool
  2. Joshua Peek
Commits on Oct 9, 2008
  1. Hongli Lai Michael Koziarski

    Add documentation for AbstractAdapter#sanitize_limit, and make its co…

    FooBarWidget authored NZKoz committed
    …de more readable.
    Signed-off-by: Michael Koziarski <>
    [#1068 status:committed]
Commits on Oct 5, 2008
  1. Pratik

    Merge docrails

    lifo authored
Commits on Oct 4, 2008
  1. Aliaksey Kandratsenka (aka Aliaksei Kandratsenka) Michael Koziarski

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

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

    Fix race in ConnectionPool#checkout

    alk authored NZKoz committed
    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 15, 2008
  1. Frederick Cheung Jeremy Kemper

    Deal with MySQL's quirky handling of defaults and blob/text columns

    fcheung authored jeremy committed
    [#1043 state:committed]
    Signed-off-by: Jeremy Kemper <>
Commits on Sep 13, 2008
  1. Pratik

    Merge docrails

    lifo authored
Commits on Sep 10, 2008
  1. Tarmo Tänav Michael Koziarski

    Support :limit on update_all so that has_many with :limit can be safe…

    tarmo authored NZKoz committed
    …ly updated
    Signed-off-by: Michael Koziarski <>
Commits on Sep 4, 2008
  1. Michael Koziarski
  2. Nick Sieger Jeremy Kemper

    Default connection allow_concurrency to false (for PostgreSQL)

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

    Deprecate verification_timeout and verify before reset

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

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

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

    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. Nick Sieger

    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. Nick Sieger

    Remove CachedConnectionPerThread per-thread pooling mechanism in favo…

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

    Connection handling methods extracted out into separate ConnectionHan…

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

    Fix failure to retain value of allow_concurrency

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

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