method

flush_idle_connections!

flush_idle_connections!(role = nil)
public

Disconnects all currently idle connections.

See ConnectionPool#flush! for details.