Skip to content

Commit

Permalink
Merge pull request #210 from softeerbootcamp4th/feature/#203-rush-eve…
Browse files Browse the repository at this point in the history
…nt-apply-stress-test

Feature/#203 rush event apply stress test
  • Loading branch information
k000927 authored Aug 21, 2024
2 parents 290f64d + ba9acae commit b27f832
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public ResponseEntity<ErrorResponse> methodArgumentNotValidExceptionHandler(Meth
}

@ExceptionHandler(RuntimeException.class)
public ResponseEntity<ErrorResponse> RuntimeExceptionHandler(RuntimeException e){
public ResponseEntity<ErrorResponse> runtimeExceptionHandler(RuntimeException e){
log.error("RuntimeException [{}]", e.getMessage(), e);
return ResponseEntity
.status(HttpStatus.BAD_REQUEST)
Expand Down
3 changes: 3 additions & 0 deletions Server/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -30,6 +32,7 @@ spring:
multipart:
max-file-size: 10MB


client:
url: ${CLIENT_URL}
localUrl: ${LOCAL_CLIENT_URL}
Expand Down

0 comments on commit b27f832

Please sign in to comment.