This commit is contained in:
WJQSERVER 2024-11-10 18:14:45 +08:00
parent 0ab01a9b83
commit 391c4b3594
4 changed files with 12 additions and 4 deletions

View file

@ -16,6 +16,10 @@ fi
/data/${APPLICATION}/${APPLICATION} -cfg /data/${APPLICATION}/config/config.toml > /data/${APPLICATION}/log/run.log 2>&1 &
while true; do
sleep 1
sleep 30
while [[ true ]]; do
# Failure Circuit Breaker
curl -f -max-time 5 -retry 3 http://localhost:80/api/healthcheck || exit 1
sleep 120
done