Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rimashah25 committed Jun 29, 2023
1 parent 1faa789 commit f0f6c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion traffic_monitor/datareq/cachestate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f0f6c61

Please sign in to comment.