Bump to Spring Boot 4.1.0 (#3125)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2026-06-12 11:34:33 +03:00
committed by GitHub
parent 24714b01fc
commit aa79097c1f
2 changed files with 3 additions and 7 deletions

View File

@@ -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)