Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 15, 2012
  1. @tenderlove
Commits on Sep 24, 2012
  1. @jrochkind

    ConnectionPool accepts spec key 'checkout_timeout'

    jrochkind authored
    Backport of #6441 cb6f839 . Old 'wait_timeout' is still supported,
    but conflicts with mysql2 using that spec key for different thing.
    'checkout_timeout' can now be used taking precedence for ConnectionPool
    over 'wait_timeout'.
Commits on Sep 20, 2012
  1. @rafaelfranca

    Revert "backport fair connection pool 02b2335 to 3-2-stable"

    rafaelfranca authored
    This reverts commit 0693e07.
    
    Revert "Cache columns metadata to avoid extra while testing"
    
    This reverts commit a82f1e3.
    
    Reason: This is causing failures in the postgresql build.
    See http://travis-ci.org/#!/rails/rails/builds/2485584
    
    Related with #7675
Commits on Sep 17, 2012
  1. @jrochkind
Commits on May 23, 2012
  1. Synchronize the ConnectionPool#release method to avoid thread safety …

    Andrew Selder authored
    …issues [#6464]
    
    Fixes #6464
    
    Synchronize the contents of the release method in ConnectionPool due to
    errors when running in high concurrency environments.
    
        Detected invalid hash contents due to unsynchronized modifications
    with concurrent users
        org/jruby/RubyHash.java:1356:in `keys'
    /usr/local/rvm/gems/jruby-1.6.7@new_import/gems/activerecord-3.2.3/lib/a
    ctive_record/connection_adapters/abstract/connection_pool.rb:294:in
    `release'
    
    /usr/local/rvm/gems/jruby-1.6.7@new_import/gems/activerecord-3.2.3/lib/a
    ctive_record/connection_adapters/abstract/connection_pool.rb:282:in
    `checkin'
Commits on May 19, 2012
  1. @tenderlove

    Merge pull request #6398 from pmahoney/threadsafe-connection-pool

    tenderlove authored
    Synchronize read and modification of @reserved_connections
Commits on Mar 13, 2012
  1. @jrochkind

    ConnectionPool.checkout takes account of ruby using 'non-blocking con…

    jrochkind authored
    …dition variables' in mutex ConditionVariables
Commits on Mar 12, 2012
  1. @tenderlove
  2. @jrochkind

    inline docs for clear_active_connections! no longer says it cleans de…

    jrochkind authored
    …ad threads, it doesn't since 3.2.0
Commits on Mar 8, 2012
  1. @tenderlove

    make active_connection? return true only if there is an open connecti…

    tenderlove authored
    …on in use for the current thread. fixes #5330
Commits on Nov 29, 2011
  1. @tenderlove

    push synchronization in to each method. Reduces method calls and makes

    tenderlove authored
    it clear which methods are synchronized.
  2. @tenderlove

    Automatic closure of connections in threads is deprecated. For example

    tenderlove authored
    the following code is deprecated:
    
    Thread.new { Post.find(1) }.join
    
    It should be changed to close the database connection at the end of
    the thread:
    
    Thread.new {
      Post.find(1)
      Post.connection.close
    }.join
    
    Only people who spawn threads in their application code need to worry
    about this change.
  3. @tenderlove
  4. @tenderlove
  5. @tenderlove
  6. @tenderlove
Commits on Nov 28, 2011
  1. @tenderlove
  2. @tenderlove
  3. @tenderlove
Commits on Nov 20, 2011
  1. @tenderlove

    oops! I suck! :bomb:

    tenderlove authored
  2. @tenderlove
Commits on Nov 13, 2011
  1. @noefroidevaux

    Fix pull request #3609

    noefroidevaux authored
Commits on Nov 11, 2011
  1. @noefroidevaux
Commits on Oct 7, 2011
  1. @mjtko

    use thread locals and an instance variable within QueryCache#BodyProx…

    mjtko authored
    …y to maintain appropriate linkage with AR database connection across threads
Commits on Sep 7, 2011
  1. @tenderlove
Commits on Aug 8, 2011
  1. @jonleighton

    Make it the responsibility of the connection to hold onto an ARel vis…

    jonleighton authored
    …itor for generating SQL. This improves the code architecture generally, and solves some problems with marshalling. Adapter authors please take note: you now need to define an Adapter.visitor_for method, but it degrades gracefully with a deprecation warning for now.
Commits on Jun 28, 2011
  1. @tenderlove
Commits on Jun 18, 2011
  1. @stevehodgkiss

    Fix inconsistencies by being polite to the wrapped body. Needed for R…

    stevehodgkiss authored
    …ack::Sendfile to function properly. See issue #1761.
Commits on Jun 10, 2011
  1. @metaskills

    Allow the connection pool's #table_exists? method to give the connect…

    metaskills authored
    …ions #table_exists? method a chance.
Commits on May 25, 2011
  1. @fxn

    Merge branch 'master' of git://github.com/lifo/docrails

    fxn authored
    Conflicts:
    	actionmailer/lib/action_mailer/base.rb
    	activesupport/lib/active_support/core_ext/kernel/requires.rb
Commits on May 23, 2011
  1. @smartinez87
  2. @smartinez87
Commits on Apr 23, 2011
  1. @smartinez87

    Fixed punctuation errors.

    smartinez87 authored
Commits on Mar 29, 2011
  1. @tenderlove
  2. @tenderlove
Something went wrong with that request. Please try again.