mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 00:01:10 +08:00
1.7.2
This commit is contained in:
parent
0ab01a9b83
commit
391c4b3594
4 changed files with 12 additions and 4 deletions
|
|
@ -1,5 +1,9 @@
|
||||||
# 更新日志
|
# 更新日志
|
||||||
|
|
||||||
|
v1.7.2
|
||||||
|
---
|
||||||
|
CHANGE: 为`nocache`版本加入测试性的故障熔断机制
|
||||||
|
|
||||||
v1.7.1
|
v1.7.1
|
||||||
---
|
---
|
||||||
- CHANGE: 更新Go版本至1.23.3
|
- CHANGE: 更新Go版本至1.23.3
|
||||||
|
|
|
||||||
2
VERSION
2
VERSION
|
|
@ -1 +1 @@
|
||||||
1.7.1
|
1.7.2
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[server]
|
[server]
|
||||||
host = "0.0.0.0"
|
host = "0.0.0.0"
|
||||||
port = 80
|
port = 80 #修改此配置会导致容器异常
|
||||||
sizeLimit = 125 # MB
|
sizeLimit = 125 # MB
|
||||||
|
|
||||||
[pages]
|
[pages]
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,10 @@ fi
|
||||||
|
|
||||||
/data/${APPLICATION}/${APPLICATION} -cfg /data/${APPLICATION}/config/config.toml > /data/${APPLICATION}/log/run.log 2>&1 &
|
/data/${APPLICATION}/${APPLICATION} -cfg /data/${APPLICATION}/config/config.toml > /data/${APPLICATION}/log/run.log 2>&1 &
|
||||||
|
|
||||||
while true; do
|
sleep 30
|
||||||
sleep 1
|
|
||||||
|
while [[ true ]]; do
|
||||||
|
# Failure Circuit Breaker
|
||||||
|
curl -f -max-time 5 -retry 3 http://localhost:80/api/healthcheck || exit 1
|
||||||
|
sleep 120
|
||||||
done
|
done
|
||||||
Loading…
Add table
Add a link
Reference in a new issue