Module Sequel::ConnectionPool::ClassMethods
In: lib/sequel/connection_pool.rb

Class methods used to return an appropriate pool subclass, separated into a module for easier overridding by extensions.

Methods

get_pool  

Public Instance methods

Return a pool subclass instance based on the given options. If a :pool_class option is provided is provided, use that pool class, otherwise use a new instance of an appropriate pool subclass based on the :single_threaded and :servers options.

[Source]

    # File lib/sequel/connection_pool.rb, line 43
43:     def get_pool(db, opts = OPTS)
44:       connection_pool_class(opts).new(db, opts)
45:     end

[Validate]