Skip to content
Permalink
Browse files
Merge pull request #1665 from JiaoZiLang/master
docs(circuit_breaker): fix word error
  • Loading branch information
lorinlee committed Jan 22, 2022
2 parents dc38fce + afc33b5 commit f1cbe0a5a664cd695c3c3bbcbca84fe3d78bcae4
Showing 1 changed file with 1 addition and 1 deletion.
@@ -26,7 +26,7 @@ option.enable_circuit_breaker = true;
2. 之后根据ema_latency更新max_error_cost: max_error_cost = window_size * max_error_rate * ema_latency。


上面的window_size和max_error_rate均为gflag所指定的常量, alpha则是一个略小于1的常量,其值由window_size和下面提到的circuit_breaker_epsilon_value决定。latency则指该次请求所的耗时
上面的window_size和max_error_rate均为gflag所指定的常量, alpha则是一个略小于1的常量,其值由window_size和下面提到的circuit_breaker_epsilon_value决定。latency则指该次请求的耗时

**每次请求返回之后,都会更新acc_error_cost:**
1. 如果请求处理成功,则令 acc_error_cost = alpha * acc_error_cost

0 comments on commit f1cbe0a

Please sign in to comment.