mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
1.7.1
This commit is contained in:
parent
8787c11e06
commit
0ab01a9b83
6 changed files with 21 additions and 6 deletions
|
|
@ -22,6 +22,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:8080/api/healthcheck || exit 1
|
||||
sleep 120
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue