Skip to content

Commit

Permalink
ReportStat 有时候val 类型转换为nil (#113)
Browse files Browse the repository at this point in the history
* 熔断错误判断

* 熔断错误判断

* 熔断判断 + 限流反注册

* resp close

* circuit panic, sometime metricsVal.(*model.CircuitBreakGauge) is null

* ReportStat 有时候val 类型转换为nil

* 修改注释

* 恢复ReportStat

Co-authored-by: zhanglei25 <[email protected]>
  • Loading branch information
reallovelei and reallovelei authored Nov 4, 2022
1 parent d7cc5a1 commit 96891e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/flow/async_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/polarismesh/polaris-go/pkg/model"
)

// AsyncGetQuota 同步获取配额信息
// AsyncGetQuota 异步获取配额信息
func (e *Engine) AsyncGetQuota(request *model.QuotaRequestImpl) (*model.QuotaFutureImpl, error) {
commonRequest := data.PoolGetCommonRateLimitRequest()
commonRequest.InitByGetQuotaRequest(request, e.configuration)
Expand Down

0 comments on commit 96891e4

Please sign in to comment.