method
reap
v4.0.2 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::ConnectionPool
reap()public
Removes dead connections from the pool. A dead connection can occur if a programmer forgets to close a connection at the end of a thread or a thread dies unexpectedly.