Bump to Spring Boot 4.1.0 (#3125)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -61,10 +61,6 @@ public class DistributedLockRepository extends DefaultLockRepository {
|
|||||||
timeToLive * lockProperties.getRefreshOnRemainPercent() / 100);
|
timeToLive * lockProperties.getRefreshOnRemainPercent() / 100);
|
||||||
final int refreshAfterMS = timeToLive - triggerOnRemainMS;
|
final int refreshAfterMS = timeToLive - triggerOnRemainMS;
|
||||||
refreshAfterMillis = refreshAfterMS <= 0 ? null : refreshAfterMS;
|
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)
|
@Transactional(propagation = Propagation.REQUIRES_NEW)
|
||||||
|
|||||||
6
pom.xml
6
pom.xml
@@ -17,7 +17,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
<version>4.0.7</version>
|
<version>4.1.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<groupId>org.eclipse.hawkbit</groupId>
|
<groupId>org.eclipse.hawkbit</groupId>
|
||||||
@@ -58,8 +58,8 @@
|
|||||||
<java.client.version>17</java.client.version>
|
<java.client.version>17</java.client.version>
|
||||||
|
|
||||||
<!-- must be the same as the parent version -->
|
<!-- must be the same as the parent version -->
|
||||||
<spring-boot.version>4.0.7</spring-boot.version>
|
<spring-boot.version>4.1.0</spring-boot.version>
|
||||||
<spring-cloud.version>2025.1.1</spring-cloud.version>
|
<spring-cloud.version>2025.1.2</spring-cloud.version>
|
||||||
<spring-ai.version>1.1.7</spring-ai.version>
|
<spring-ai.version>1.1.7</spring-ai.version>
|
||||||
<springdoc-openapi.version>3.0.3</springdoc-openapi.version>
|
<springdoc-openapi.version>3.0.3</springdoc-openapi.version>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user