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

@ -1,8 +1,13 @@
# 更新日志 # 更新日志
v1.7.3
---
- CHANGE: Bump golang.org/x/time from 0.7.0 to 0.8.0
- FIX: 修复故障熔断的相关问题
v1.7.2 v1.7.2
--- ---
CHANGE: 为`nocache`版本加入测试性的故障熔断机制 - CHANGE: 为`nocache`版本加入测试性的故障熔断机制
v1.7.1 v1.7.1
--- ---

View file

@ -1 +1 @@
1.7.2 1.7.3

View file

@ -26,6 +26,6 @@ sleep 30
while [[ true ]]; do while [[ true ]]; do
# Failure Circuit Breaker # 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 sleep 120
done done

View file

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

View file

@ -26,6 +26,6 @@ sleep 30
while [[ true ]]; do while [[ true ]]; do
# Failure Circuit Breaker # 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 sleep 120
done done