Module: Esse::RedisStorage::Config::InstanceMethods

Defined in:
lib/esse/redis_storage/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#redisObject

Returns the value of attribute redis.



11
12
13
# File 'lib/esse/redis_storage/config.rb', line 11

def redis
  @redis
end

#redis_queue_ttlObject

Returns the value of attribute redis_queue_ttl.



11
12
13
# File 'lib/esse/redis_storage/config.rb', line 11

def redis_queue_ttl
  @redis_queue_ttl
end

Instance Method Details

#redis_poolObject



13
14
15
# File 'lib/esse/redis_storage/config.rb', line 13

def redis_pool
  @redis_pool ||= Esse::RedisStorage::Pool.new(redis)
end