instance method
remove_from_maintenance
Ruby on Rails 8.1.3.1
Since v8.1.3.1 Last seen in v8.1.3.1 Private — implementation detail, not part of the public APISignature
remove_from_maintenance(conn)
Remove a connection from the pool after it has been checked out for maintenance. It will be automatically replaced with a new connection if necessary.
Parameters
-
connreq
Source
# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, line 1015
def remove_from_maintenance(conn)
synchronize do
@maintaining -= 1
remove conn
end
end
Defined in activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb line 1015
· View on GitHub
· Improve this page
· Find usages on GitHub