Skip to content

Commit

Permalink
Merge pull request TencentBlueKing#11204 from yongyiduan/issue_10997_new
Browse files Browse the repository at this point in the history
feat:流水线/Job并发和排队数据落地 TencentBlueKing#10997
  • Loading branch information
bkci-bot authored Nov 12, 2024
2 parents 82e9fae + cd71415 commit b6564fd
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,13 @@ class MetricsUserService @Autowired constructor(
val metrics = local[key]
logger.debug("metricsRemove|key={}|value={}|metrics={}", key, value, metrics)
if (metrics != null) {
// 立即删除
metrics.meters.forEach { meter ->
registry.remove(meter)
}
local.remove(key)
// 异步删除
delayArray.first.add(key to metrics)
// delayArray.first.add(key to metrics)
}
}

Expand Down

0 comments on commit b6564fd

Please sign in to comment.