redis-semaphore icon indicating copy to clipboard operation
redis-semaphore copied to clipboard

why doesn't redis-semaphore use sub/pub to notify another one to tryAcquire?

Open Yelijah opened this issue 5 months ago • 0 comments

Java's redisson publish a msg when lock is released, so another one will get the msg and tryAcquire again. This method is obviously more time-efficient, why redis-semaphore just supports retrying at intervals?

Yelijah avatar Jun 15 '25 10:06 Yelijah