method

flush_idle_connections!

flush_idle_connections!(role = ActiveRecord::Base.current_role)
public

Disconnects all currently idle connections.

See ConnectionPool#flush! for details.