DB::Pool::Options
Constructors
Class methods
Instance methods
checkout_timeout
seconds to wait before timeout while doing a checkout
clone
Sourcecopy_with(initial_pool_size _initial_pool_size = @initial_pool_size, max_pool_size _max_pool_size = @max_pool_size, max_idle_pool_size _max_idle_pool_size = @max_idle_pool_size, checkout_timeout _checkout_timeout = @checkout_timeout, retry_attempts _retry_attempts = @retry_attempts, retry_delay _retry_delay = @retry_delay)
Sourceinitial_pool_size
initial number of connections in the pool
max_idle_pool_size
maximum amount of idle connections in the pool
max_pool_size
maximum amount of connections in the pool (Idle + InUse). 0 means no maximum.
retry_attempts
maximum amount of retry attempts to reconnect to the db. See Pool#retry
retry_delay
seconds to wait before a retry attempt