Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…ad threads, it doesn't since 3.2.0
  • Loading branch information...
commit bb8f4c2b11c37710000822a23121c7b04332e681 1 parent 90d9635
@jrochkind jrochkind authored
View
4 activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.