class
Session::ConnectionPoolConfig
- Session::ConnectionPoolConfig
- Reference
- Object
Overview
Configuration for connection pool
Defined in:
connection_pool.crConstructors
Instance Method Summary
- #redis_database : Int32
- #redis_database=(redis_database : Int32)
- #redis_host : String
- #redis_host=(redis_host : String)
- #redis_password : String | Nil
- #redis_password=(redis_password : String | Nil)
- #redis_port : Int32
- #redis_port=(redis_port : Int32)
- #size : Int32
- #size=(size : Int32)
- #timeout : Time::Span
- #timeout=(timeout : Time::Span)
Constructor Detail
def self.new(size : Int32 = 5, timeout : Time::Span = 5.seconds, redis_host : String = "localhost", redis_port : Int32 = 6379, redis_database : Int32 = 0, redis_password : String | Nil = nil)
#