diff --git a/hawkbit-repository/hawkbit-repository-jpa/src/main/java/org/eclipse/hawkbit/repository/jpa/cluster/DistributedLockRepository.java b/hawkbit-repository/hawkbit-repository-jpa/src/main/java/org/eclipse/hawkbit/repository/jpa/cluster/DistributedLockRepository.java index 801ac4c82..f709edc49 100644 --- a/hawkbit-repository/hawkbit-repository-jpa/src/main/java/org/eclipse/hawkbit/repository/jpa/cluster/DistributedLockRepository.java +++ b/hawkbit-repository/hawkbit-repository-jpa/src/main/java/org/eclipse/hawkbit/repository/jpa/cluster/DistributedLockRepository.java @@ -61,10 +61,6 @@ public class DistributedLockRepository extends DefaultLockRepository { timeToLive * lockProperties.getRefreshOnRemainPercent() / 100); final int refreshAfterMS = timeToLive - triggerOnRemainMS; refreshAfterMillis = refreshAfterMS <= 0 ? null : refreshAfterMS; - - // to ensure that deprecated acquire and renew will use the lockProperties ttl. none shall call them but anyway - for sure - // to be removed when the #setTimeToLive method is removed from DefaultLockRepository - setTimeToLive(lockProperties.getTtl()); } @Transactional(propagation = Propagation.REQUIRES_NEW) diff --git a/pom.xml b/pom.xml index e420051fb..ab166d0c8 100644 --- a/pom.xml +++ b/pom.xml @@ -17,7 +17,7 @@ org.springframework.boot spring-boot-starter-parent - 4.0.7 + 4.1.0 org.eclipse.hawkbit @@ -58,8 +58,8 @@ 17 - 4.0.7 - 2025.1.1 + 4.1.0 + 2025.1.2 1.1.7 3.0.3