We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 451258f commit 9cd3964Copy full SHA for 9cd3964
go/vt/vttablet/tabletserver/throttle/check.go
@@ -263,10 +263,8 @@ func (check *ThrottlerCheck) SelfChecks(ctx context.Context) {
263
return
264
case <-selfCheckTicker.C:
265
for metricName, metricResult := range check.AggregatedMetrics(ctx) {
266
- aggregatedMetricName := metricName
267
-
268
- go check.localCheck(ctx, aggregatedMetricName)
269
- go check.reportAggregated(aggregatedMetricName, metricResult)
+ go check.localCheck(ctx, metricName)
+ go check.reportAggregated(metricName, metricResult)
270
}
271
272
0 commit comments