From ad47c8e6d4dbb1381cc0ff68e19429b11aa81011 Mon Sep 17 00:00:00 2001 From: wjddn2165 Date: Wed, 21 Aug 2024 17:52:32 +0900 Subject: [PATCH 1/2] =?UTF-8?q?refactor:=20=EB=A9=94=EC=86=8C=EB=93=9C=20?= =?UTF-8?q?=EC=9D=B4=EB=A6=84=20=EB=8C=80=EB=AC=B8=EC=9E=90=EB=A1=9C=20?= =?UTF-8?q?=EC=8B=9C=EC=9E=91=ED=95=98=EB=8A=94=20=EA=B1=B0=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../JGS/CasperEvent/global/error/GlobalExceptionHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/src/main/java/JGS/CasperEvent/global/error/GlobalExceptionHandler.java b/Server/src/main/java/JGS/CasperEvent/global/error/GlobalExceptionHandler.java index 2d413742..df0cc858 100644 --- a/Server/src/main/java/JGS/CasperEvent/global/error/GlobalExceptionHandler.java +++ b/Server/src/main/java/JGS/CasperEvent/global/error/GlobalExceptionHandler.java @@ -42,7 +42,7 @@ public ResponseEntity methodArgumentNotValidExceptionHandler(Meth } @ExceptionHandler(RuntimeException.class) - public ResponseEntity RuntimeExceptionHandler(RuntimeException e){ + public ResponseEntity runtimeExceptionHandler(RuntimeException e){ log.error("RuntimeException [{}]", e.getMessage(), e); return ResponseEntity .status(HttpStatus.BAD_REQUEST) From ba9acae697461c05b12278d15e1c64c23d516995 Mon Sep 17 00:00:00 2001 From: wjddn2165 Date: Wed, 21 Aug 2024 17:53:02 +0900 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20DB=20=EC=BB=A4=EB=84=A5=EC=85=98?= =?UTF-8?q?=20=ED=92=80=20=EA=B0=9C=EC=88=98=20parameter-store=20=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=EC=A1=B0=EC=A0=95=20=EA=B0=80=EB=8A=A5=ED=95=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Server/src/main/resources/application-prod.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Server/src/main/resources/application-prod.yml b/Server/src/main/resources/application-prod.yml index 5de00a76..4cb5173e 100644 --- a/Server/src/main/resources/application-prod.yml +++ b/Server/src/main/resources/application-prod.yml @@ -4,6 +4,8 @@ spring: username: ${SPRING_DATASOURCE_USERNAME} password: ${SPRING_DATASOURCE_PASSWORD} driver-class-name: com.mysql.cj.jdbc.Driver + hikari: + maximum-pool-size: ${DB_MAX_POOL_SIZE:10} # 기본값 10, 환경변수 DB_MAX_POOL_SIZE로 대체 가능 jpa: hibernate: ddl-auto: update @@ -30,6 +32,7 @@ spring: multipart: max-file-size: 10MB + client: url: ${CLIENT_URL} localUrl: ${LOCAL_CLIENT_URL}