method
remove_connection_from_thread_cache
v7.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 900
def remove_connection_from_thread_cache(conn, owner_thread = conn.owner)
if owner_thread
@leases[owner_thread].clear(conn)
end
end