method

new

rails latest stable - Class: ActiveRecord::ConnectionAdapters::ConnectionHandler
new()
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb, line 77
      def initialize
        # These caches are keyed by pool_config.connection_name (PoolConfig#connection_name).
        @connection_name_to_pool_manager = Concurrent::Map.new(initial_capacity: 2)

        # Backup finalizer: if the forked child skipped Kernel#fork the early discard has not occurred
        ObjectSpace.define_finalizer self, FINALIZER
      end