Skip to content

Commit

Permalink
Revert shard context_util autolint change
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSnowden committed May 8, 2023
1 parent dc9cfaa commit 9be72e0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions service/history/shard/context_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,9 @@ Loop:
tag.ShardQueueAcks(category.Name(), minTaskKey.FireTime),
)
}
metricsHandler.Timer(metrics.ShardInfoScheduledQueueLagTimer.GetMetricName()).Record(
lag,
metrics.TaskCategoryTag(category.Name()),
)
metricsHandler.Timer(
metrics.ShardInfoScheduledQueueLagTimer.GetMetricName(),
).Record(lag, metrics.TaskCategoryTag(category.Name()))
default:
logger.Error("Unknown task category type", tag.NewStringTag("task-category", category.Type().String()))
}
Expand Down

0 comments on commit 9be72e0

Please sign in to comment.