This commit is contained in:
WJQSERVER 2024-11-11 19:35:39 +08:00
parent 391c4b3594
commit 4397bc2cf9
5 changed files with 10 additions and 5 deletions

View file

@ -26,6 +26,6 @@ sleep 30
while [[ true ]]; do
# Failure Circuit Breaker
curl -f -max-time 5 -retry 3 http://localhost:8080/api/healthcheck || exit 1
curl -f --max-time 5 -retry 3 http://127.0.0.1:8080/api/healthcheck || exit 1
sleep 120
done