class

Session::ConnectionPoolConfig

Inherits Reference < Object

Configuration for connection pool

Constructors

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)
Source

Instance methods

redis_database
Source
redis_database=(redis_database : Int32)
Source
redis_host
Source
redis_host=(redis_host : String)
Source
redis_password
Source
redis_password=(redis_password : String | Nil)
Source
redis_port
Source
redis_port=(redis_port : Int32)
Source
size
Source
size=(size : Int32)
Source
timeout
Source
timeout=(timeout : Time::Span)
Source