diff --git a/gradle.properties b/gradle.properties index e87d82ab..1466baa6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,7 +8,7 @@ spotless_version=6.25.0 jacoco_min_coverage_required=0.84 -spring_boot_version=3.4.0-M1 +spring_boot_version=3.4.1 spring_dependency_management_version=1.1.6 springdoc_openapi_version=2.8.0 diff --git a/src/main/java/com/learning/mfscreener/config/RestTemplateConfiguration.java b/src/main/java/com/learning/mfscreener/config/RestTemplateConfiguration.java index 4a90dc82..5b9c2bdb 100644 --- a/src/main/java/com/learning/mfscreener/config/RestTemplateConfiguration.java +++ b/src/main/java/com/learning/mfscreener/config/RestTemplateConfiguration.java @@ -13,8 +13,8 @@ public class RestTemplateConfiguration { @Bean RestTemplate restTemplate(RestTemplateBuilder restTemplateBuilder) { return restTemplateBuilder - .setConnectTimeout(Duration.ofSeconds(30)) - .setReadTimeout(Duration.ofSeconds(60)) + .connectTimeout(Duration.ofSeconds(30)) + .readTimeout(Duration.ofSeconds(60)) .build(); }