mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add desc comments for NewMetricsCacheManager (#9128)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>pull/9119/head
parent
c30c5d759d
commit
d13ae5f336
|
@ -33,6 +33,7 @@ type MetricsCacheManager struct {
|
|||
retentionMtx sync.RWMutex // necessary?
|
||||
}
|
||||
|
||||
// NewMetricsCacheManager returns a cache manager of metrics information.
|
||||
func NewMetricsCacheManager() *MetricsCacheManager {
|
||||
manager := &MetricsCacheManager{
|
||||
systemInfoMetrics: nil,
|
||||
|
|
Loading…
Reference in New Issue