method
remove_connection_from_thread_cache
v5.2.3 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::ConnectionPool
remove_connection_from_thread_cache(conn, owner_thread = conn.owner)private
No documentation available.
# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, line 805
def remove_connection_from_thread_cache(conn, owner_thread = conn.owner)
@thread_cached_conns.delete_pair(connection_cache_key(owner_thread), conn)
end