Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
inline docs for clear_active_connections! no longer says it cleans de…
…ad threads, it doesn't since 3.2.0
  • Loading branch information
jrochkind committed Mar 12, 2012
1 parent 90d9635 commit bb8f4c2
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -345,9 +345,7 @@ def active_connections?
connection_pools.values.any? { |pool| pool.active_connection? }
end

# Returns any connections in use by the current thread back to the pool,
# and also returns connections to the pool cached by threads that are no
# longer alive.
# Returns any connections in use by the current thread back to the pool.
def clear_active_connections!
@connection_pools.each_value {|pool| pool.release_connection }
end
Expand Down

0 comments on commit bb8f4c2

Please sign in to comment.