method
checkout_for_maintenance
v8.1.1 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::ConnectionPool
checkout_for_maintenance(conn)private
Directly check a specific connection out of the pool. Skips callbacks.
The connection must later either #return_from_maintenance or #remove_from_maintenance, or the pool will hang.