redis-semaphore
Advanced tools
Changelog
redis-semaphore@5.0.0
ioredis@5
supportChangelog
redis-semaphore@4.1.0
.isAcquired
property on all locksonLostLock
constructor option. By default throws unhandled error.Changelog
redis-semaphore@4.0.0
Mutex
, Semaphore
, MultiSemaphore
not longer support Cluster
. For multi-node case use Redlock*
instead.RedlockMutex
, RedlockSemaphore
, RedlockMultiSemaphore
Changelog
redis-semaphore@3.0.0
FairSemaphore
has been removed. Use Semaphore
instead (has the same "fairness")
acquire
method in Semaphore
no longer returns a boolean. Instead, it throws an error if it cannot acquire, and if it doesn't throw, you can assume it worked.