module

RedisMutex

Distributed mutex on top of Redis

Constants

MAX_LOCKING_TIME = 2.seconds

Time wait until assuming deadlock and ignoring the lock

VERSION = "0.3.0"

Class methods

run(*args, **kwargs, &block)

Creates a new instance of Redis::Mutex and executes the given block with a distributed mutex on top of Redis

Source

Nested types