class Potlock::Configuration
Attributes
redis_db[RW]
Redis connection information
redis_host[RW]
Redis connection information
redis_port[RW]
Redis connection information
retry_count[RW]
How many times it’ll try to lock a resource
retry_delay[RW]
How many milliseconds to sleep before try to lock again
Public Class Methods
new()
click to toggle source
# File lib/potlock/configuration.rb, line 14 def initialize @redis_host = "localhost" @redis_port = "6379" @redis_db = "1" @retry_count = 25 @retry_delay = 200 end