instance method remove_from_maintenance

Ruby on Rails 8.1.2

Since v8.1.2 Private — implementation detail, not part of the public API

Signature

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

conn req
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

Defined in ActiveRecord::ConnectionAdapters::ConnectionPool

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close