class Bundler::ConnectionPool

def initialize(options = {}, &block)

def initialize(options = {}, &block)
  raise ArgumentError, "Connection pool requires a block" unless block
  options = DEFAULTS.merge(options)
  @size = Integer(options.fetch(:size))
  @timeout = options.fetch(:timeout)
  @auto_reload_after_fork = options.fetch(:auto_reload_after_fork)
  @available = TimedStack.new(@size, &block)
  @key = :"pool-#{@available.object_id}"
  @key_count = :"pool-#{@available.object_id}-count"
  INSTANCES[self] = self if INSTANCES
end