mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Fix golint warning of metrics (#10911)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
parent
084f1dcee3
commit
614e95fbf8
@ -19,6 +19,7 @@ import (
|
||||
)
|
||||
|
||||
// TODO(dragondriver): load from config file
|
||||
// DefaultMetricsRetention defines the default retention of metrics cache.
|
||||
const DefaultMetricsRetention = time.Second * 5
|
||||
|
||||
// TODO(dragondriver): we can use a map to manage the metrics if there are too many kind metrics
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user