Skip to content

Commit

Permalink
fix: 무중단 배포 헬스체크 횟수를 늘린다 (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
alstn113 committed Feb 10, 2025
1 parent bba2756 commit 8de9d4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ GREEN_PORT=8081
BLUE_HEALTH_CHECK_URL="http://localhost:8082/actuator/health"
GREEN_HEALTH_CHECK_URL="http://localhost:8083/actuator/health"

HEALTH_CHECK_ATTEMPTS=5
HEALTH_CHECK_ATTEMPTS=10
HEALTH_CHECK_DELAY=5
BEFORE_HEALTH_CHECK_DELAY=20
BEFORE_HEALTH_CHECK_DELAY=30

health_check() {
local target_url=$1
Expand Down

0 comments on commit 8de9d4d

Please sign in to comment.