未验证 提交 9e70cb6a 编写于 作者: S shaoyue 提交者: GitHub

[skip ci] Fix golint for metricinfo/cache.go (#12620)

Signed-off-by: Nshaoyue.chen <shaoyue.chen@zilliz.com>
上级 e6dc5083
......@@ -18,12 +18,12 @@ import (
"github.com/milvus-io/milvus/internal/proto/milvuspb"
)
// TODO(dragondriver): load from config file
// DefaultMetricsRetention defines the default retention of metrics cache.
// TODO(dragondriver): load from config file
const DefaultMetricsRetention = time.Second * 5
// TODO(dragondriver): we can use a map to manage the metrics if there are too many kind metrics
// MetricsCacheManager manage the cache of metrics information.
// TODO(dragondriver): we can use a map to manage the metrics if there are too many kind metrics
type MetricsCacheManager struct {
systemInfoMetrics *milvuspb.GetMetricsResponse
systemInfoMetricsInvalid bool
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册