method
flush
v5.2.3 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::ConnectionPool
flush(minimum_idle = @idle_timeout)public
Disconnect all connections that have been idle for at least minimum_idle seconds. Connections currently checked out, or that were checked in less than minimum_idle seconds ago, are unaffected.