class ActiveRecord::ConnectionAdapters::ConnectionHandler
def clear_active_connections!(role = ActiveRecord::Base.current_role)
Experimental RBS support (using type sampling data from the type_fusion
project).
def clear_active_connections!: (?Symbol role) -> untyped
This signature was generated using 10 samples from 1 application.
and also returns connections to the pool cached by threads that are no
Returns any connections in use by the current thread back to the pool,
def clear_active_connections!(role = ActiveRecord::Base.current_role) connection_pool_list(role).each(&:release_connection) end