From f0f6c6124a6357fad52c84b1a472796ee2fc0027 Mon Sep 17 00:00:00 2001 From: Rima Shah Date: Thu, 29 Jun 2023 08:58:31 -0600 Subject: [PATCH] added comment --- traffic_monitor/datareq/cachestate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/traffic_monitor/datareq/cachestate.go b/traffic_monitor/datareq/cachestate.go index c806736e8a..687322f32c 100644 --- a/traffic_monitor/datareq/cachestate.go +++ b/traffic_monitor/datareq/cachestate.go @@ -332,7 +332,7 @@ func infoResultSpanMS(cacheName tc.CacheName, history cache.ResultInfoHistory) ( } // resultSpanMS returns the length of time between the most recent two results. That is, how long could the cache have been down before we would have noticed it? Note this returns the time between the most recent two results, irrespective if they errored. -// Note this is unrelated to the Stat Span field. +// Note this is unrelated to the Stat Span field. 6/29/23: For now, not using this function (neither deleting it), as it is intermittently (based on poll rate) resulting in 0 value func resultSpanMS(cacheName tc.CacheName, history map[tc.CacheName][]cache.Result) (int64, error) { results, ok := history[cacheName] if !ok {