From 604883ffdfcba7231e67653d4c35c4a421a278c2 Mon Sep 17 00:00:00 2001 From: imjanghyeok Date: Thu, 30 May 2024 20:20:35 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20?= =?UTF-8?q?=EB=A7=88=EC=8A=A4=ED=81=AC=20=EB=A0=88=EB=B2=A8=20=EA=B8=B0?= =?UTF-8?q?=EC=A4=80=20=EC=83=81=ED=96=A5=EC=9C=BC=EB=A1=9C=20=EC=9D=B8?= =?UTF-8?q?=ED=95=9C=20=EB=A6=AC=ED=8C=A9=ED=84=B0=EB=A7=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/capstone/facefriend/chat/aop/ChatAop.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/main/java/capstone/facefriend/chat/aop/ChatAop.java b/src/main/java/capstone/facefriend/chat/aop/ChatAop.java index 8b4dc6b3f5..e4ba76487a 100644 --- a/src/main/java/capstone/facefriend/chat/aop/ChatAop.java +++ b/src/main/java/capstone/facefriend/chat/aop/ChatAop.java @@ -21,7 +21,6 @@ import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.After; import org.aspectj.lang.annotation.Aspect; -import org.aspectj.lang.annotation.Before; import org.aspectj.lang.annotation.Pointcut; import org.aspectj.lang.reflect.MethodSignature; import org.springframework.beans.factory.annotation.Value; @@ -52,12 +51,12 @@ public class ChatAop { @Value("${spring.cloud.aws.s3.bucket}") private String BUCKET_NAME; - private static final int LEVEL_TWO = 5; - private static final int LEVEL_THREE = 10; - private static final int LEVEL_FOUR = 15; - private static final int LEVEL_FIVE = 20; - private static final int LEVEL_SIX = 25; - private static final int LEVEL_SEVEN = 30; + private static final int LEVEL_TWO = 100; + private static final int LEVEL_THREE = 200; + private static final int LEVEL_FOUR = 300; + private static final int LEVEL_FIVE = 400; + private static final int LEVEL_SIX = 500; + private static final int LEVEL_SEVEN = 600; @Pointcut("execution(* capstone.facefriend.chat.service.MessageService.sendHeart(..))") private void sendHeart() {