struct DB::Pool::Options
- DB::Pool::Options
- Struct
- Value
- Object
Defined in:
db/pool.crConstructors
Class Method Summary
Instance Method Summary
- #checkout_timeout : Float64
- #clone
- #copy_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)
- #initial_pool_size : Int32
- #max_idle_pool_size : Int32
- #max_pool_size : Int32
- #retry_attempts : Int32
- #retry_delay : Float64
Constructor Detail
def self.new(initial_pool_size : Int32 = 1, max_pool_size : Int32 = 0, max_idle_pool_size : Int32 = 1, checkout_timeout : Float64 = 5.0, retry_attempts : Int32 = 1, retry_delay : Float64 = 0.2)
#
Class Method Detail
Instance Method Detail
def copy_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)
#