Closed XiaonuoGantan closed 8 years ago
The methods Redlock.lock and Redlock.unlock should raise either a ValueError or a MultipleRedlockException when communicating with one or several redis masters triggers errors
Redlock.lock
Redlock.unlock
ValueError
MultipleRedlockException
Changed redis_errors.clear() to del redis_errors[:] to support Python 2
redis_errors.clear()
del redis_errors[:]
The methods
Redlock.lock
andRedlock.unlock
should raise either aValueError
or aMultipleRedlockException
when communicating with one or several redis masters triggers errors