Skip to content

Commit

Permalink
style(adasvc): fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
justxuewei committed Mar 22, 2022
1 parent c01f904 commit febe6fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/loadbalance/p2c/loadbalance.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (l *p2cLoadBalance) Select(invokers []protocol.Invoker, invocation protocol
return nil
}

// TODO(justxuewei): It should have a strategy to invalidate the metrics due to timeout.
// TODO(justxuewei): It should have a strategy to drop some metrics after a period of time.
remainingJIface, err := m.GetMethodMetrics(invokers[j].GetURL(), methodName, metrics.HillClimbing)
if err != nil {
if errors.Is(err, metrics.ErrMetricsNotFound) {
Expand Down

0 comments on commit febe6fb

Please sign in to comment.