Flowdock
method

disconnect!

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: PoolConfig
disconnect!() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/pool_config.rb, line 38
      def disconnect!
        ActiveSupport::ForkTracker.check!

        return unless @pool

        synchronize do
          return unless @pool

          @pool.automatic_reconnect = false
          @pool.disconnect!
        end

        nil
      end
Register or log in to add new notes.