Ver Fonte

review comments

Matthew R Kasun há 2 anos atrás
pai
commit
48f8a1398a
1 ficheiros alterados com 1 adições e 0 exclusões
  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