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)
SourceInstance methods
redis_database
Sourceredis_database=(redis_database : Int32)
Sourceredis_host
Sourceredis_host=(redis_host : String)
Sourceredis_password
Sourceredis_password=(redis_password : String | Nil)
Sourceredis_port
Sourceredis_port=(redis_port : Int32)
Sourcesize
Sourcesize=(size : Int32)
Sourcetimeout
Sourcetimeout=(timeout : Time::Span)
Source