From e06948e7187c70488baee71e8b082c8cdf768762 Mon Sep 17 00:00:00 2001 From: woody35545 Date: Tue, 14 May 2024 00:03:05 +0900 Subject: [PATCH] =?UTF-8?q?modify:=20`RestTemplateConfig`=20-=20RestTempla?= =?UTF-8?q?te=20=EB=B9=88=20=EC=9E=84=EC=8B=9C=20=EC=A3=BC=EC=84=9D=20?= =?UTF-8?q?=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../config/RestTemplateConfig.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/java/com/t3t/bookstoreapi/config/RestTemplateConfig.java b/src/main/java/com/t3t/bookstoreapi/config/RestTemplateConfig.java index 255ad113..e79fb0c0 100644 --- a/src/main/java/com/t3t/bookstoreapi/config/RestTemplateConfig.java +++ b/src/main/java/com/t3t/bookstoreapi/config/RestTemplateConfig.java @@ -21,16 +21,16 @@ @Configuration public class RestTemplateConfig { - /** - * RestTemplate 빈 - * @author woody35545(구건모) - */ - @Bean - public RestTemplate restTemplate(RestTemplateBuilder builder) { - return builder.setReadTimeout(Duration.ofSeconds(3L)) - .setConnectTimeout(Duration.ofSeconds(3L)) - .build(); - } +// /** +// * RestTemplate 빈 +// * @author woody35545(구건모) +// */ +// @Bean +// public RestTemplate restTemplate(RestTemplateBuilder builder) { +// return builder.setReadTimeout(Duration.ofSeconds(3L)) +// .setConnectTimeout(Duration.ofSeconds(3L)) +// .build(); +// } /** * Secret Key Manager 인증서를 사용하여 요청을 보내기 위한 RestTemplate 빈 등록