Martian framework released version 3.0.39, upgraded Redis distributed lock, making it more flexible
As the title says, this update mainly optimizes the flexibility of Redis distributed locks.
Add RedisLock annotation to the method to be locked
@RedisLock(key = "自己定义一个key", maxWait = 3000,
retry = true, retryRate = 100, timeOut = 1000)
p...
sherlock.hashnode.dev2 min read