method
new
new()
public
Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, line 868 def initialize # These caches are keyed by spec.name (ConnectionSpecification#name). @owner_to_pool = Concurrent::Map.new(initial_capacity: 2) do |h, k| h[k] = Concurrent::Map.new(initial_capacity: 2) end end