File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
spring-integration-redis/src/main/java/org/springframework/integration/redis/util Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -759,15 +759,15 @@ protected boolean tryRedisLockInner(long time) throws InterruptedException {
759
759
long now = System .currentTimeMillis ();
760
760
if (time == -1L ) {
761
761
while (!obtainLock ()) {
762
- Thread .sleep (idleBetweenTries .toMillis ()); //NOSONAR
762
+ Thread .sleep (RedisLockRegistry . this . idleBetweenTries .toMillis ()); //NOSONAR
763
763
}
764
764
return true ;
765
765
}
766
766
else {
767
767
long expire = now + TimeUnit .MILLISECONDS .convert (time , TimeUnit .MILLISECONDS );
768
768
boolean acquired ;
769
769
while (!(acquired = obtainLock ()) && System .currentTimeMillis () < expire ) { //NOSONAR
770
- Thread .sleep (idleBetweenTries .toMillis ()); //NOSONAR
770
+ Thread .sleep (RedisLockRegistry . this . idleBetweenTries .toMillis ()); //NOSONAR
771
771
}
772
772
return acquired ;
773
773
}
You can’t perform that action at this time.
0 commit comments