This commit is contained in:
WJQSERVER 2024-11-08 12:14:04 +08:00
parent 8787c11e06
commit 0ab01a9b83
6 changed files with 21 additions and 6 deletions

View file

@ -25,7 +25,7 @@ fi
sleep 30
while [[ true ]]; do
# 健康检查
curl -f http://localhost:8080/api/healthcheck || exit 1
# Failure Circuit Breaker
curl -f -max-time 5 -retry 3 http://localhost:8080/api/healthcheck || exit 1
sleep 120
done