Skip to content

Commit

Permalink
refactor(sentinel): 避免 sentinel 健康检查 强制检测 server
Browse files Browse the repository at this point in the history
  • Loading branch information
lltx committed Dec 16, 2024
1 parent 8e6083a commit c0579dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,6 @@ on:
branches: [ master,jdk17,jdk17-dev,dev ]

jobs:
gitcode:
runs-on: ubuntu-latest
steps:
- uses: wearerequired/git-mirror-action@master #同步至 gitcode
env:
SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
with:
source-repo: "[email protected]:pig-mesh/pig.git"
destination-repo: "[email protected]:pig-mesh/pig.git"
gitlink:
runs-on: ubuntu-latest
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ public void postProcessEnvironment(ConfigurableEnvironment environment, SpringAp

// 避免 sentinel 1.8.4+ 心跳日志过大
System.setProperty("csp.sentinel.log.level", "OFF");

// 避免 sentinel 健康检查 server
System.setProperty("management.health.sentinel.enabled", "false");
}

@Override
Expand Down

0 comments on commit c0579dd

Please sign in to comment.