From ed4ef61342b92b4e52640049980b3cee7ab04419 Mon Sep 17 00:00:00 2001 From: enbraining Date: Thu, 21 Dec 2023 15:26:02 +0900 Subject: [PATCH] =?UTF-8?q?redis=20=EB=B9=84=EB=B0=80=EB=B2=88=ED=98=B8=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../global/email/service/impl/EmailServiceImpl.java | 5 ----- src/main/resources/application.yml | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/gapple/weeingback/global/email/service/impl/EmailServiceImpl.java b/src/main/java/com/gapple/weeingback/global/email/service/impl/EmailServiceImpl.java index 30c5ef6..28e617e 100644 --- a/src/main/java/com/gapple/weeingback/global/email/service/impl/EmailServiceImpl.java +++ b/src/main/java/com/gapple/weeingback/global/email/service/impl/EmailServiceImpl.java @@ -7,13 +7,8 @@ import org.springframework.mail.javamail.JavaMailSender; import org.springframework.mail.javamail.MimeMessageHelper; import org.springframework.stereotype.Service; -import org.springframework.web.util.HtmlUtils; import java.util.Random; -import java.util.concurrent.Callable; -import java.util.concurrent.ExecutorService; -import java.util.concurrent.Executors; -import java.util.concurrent.Future; @Slf4j @Service diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index f4f513d..2439669 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -27,6 +27,8 @@ spring: max-idle: 8 min-idle: 0 max-wait: 1 + sentinel: + password: ${REDIS_PASSWORD} jpa: open-in-view: false