Skip to content

Commit

Permalink
refactor: graceful shutdown 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
This2sho committed Nov 27, 2024
1 parent dd941a0 commit 7dee0a9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app-api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ cors:
allowedOrigins: ${ORIGIN:http://localhost:3000}

api-prefix: ${API_PREFIX:/}

server:
shutdown: graceful
6 changes: 6 additions & 0 deletions app-scheduler/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
spring:
profiles:
active: ${PROFILE:dev}
lifecycle:
timeout-per-shutdown-phase: 5m

server:
shutdown: graceful

# API KEY
kakao:
key: ${KAKAO_API_KEY:kakao}
Expand Down

0 comments on commit 7dee0a9

Please sign in to comment.