ソースを参照

review comments

Matthew R Kasun 2 年 前
コミット
48f8a1398a
1 ファイル変更1 行追加0 行削除
  1. 1 0
      metrics/metrics.go

+ 1 - 0
metrics/metrics.go

@@ -82,6 +82,7 @@ func ResetMetricForNode(server, peerKey, peerID string) {
 	UpdateMetric(server, peerKey, &metric)
 }
 
+// MetricCollectionInterval - collection interval for metrics
 const MetricCollectionInterval = time.Second * 25
 
 // PeerConnectionStatus - get peer connection status by pinging