method
clear_active_connections!
Ruby on Rails latest stable (v6.1.7.7)
-
0 notes -
Class: ActiveRecord::ConnectionAdapters::ConnectionHandler
clear_active_connections!(role = ActiveRecord::Base.current_role)
public
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.