Fixed - NameMapper is called twice when acquiring a ReadWriteLock #4925

pull/4931/head
Nikita Koksharov 2 years ago
parent 6dc2002451
commit 1095441cf0

@ -42,12 +42,12 @@ public class RedissonReadWriteLock extends RedissonExpirable implements RReadWri
@Override
public RLock readLock() {
return new RedissonReadLock(commandExecutor, getRawName());
return new RedissonReadLock(commandExecutor, getName());
}
@Override
public RLock writeLock() {
return new RedissonWriteLock(commandExecutor, getRawName());
return new RedissonWriteLock(commandExecutor, getName());
}
}

Loading…
Cancel
Save