Remove packet debug. (#1909)

Not showing anything too useful.
This commit is contained in:
Raja Subramanian
2023-07-27 10:04:04 +05:30
committed by GitHub
parent 886e7b024c
commit 7a10f60be7
2 changed files with 1 additions and 99 deletions
-14
View File
@@ -1984,20 +1984,6 @@ done:
if !targetLayer.IsValid() {
distance += (maxSeenLayer.Temporal + 1)
}
// TODO-REMOVE-AFTER-DEBUG
logger.Debugw(
"distance to desired",
"maxSeenLauer", maxSeenLayer,
"availableLayers", availableLayers,
"brs", brs,
"targetLayer", targetLayer,
"maxLayer", maxLayer,
"adjustedMaxLayer", adjustedMaxLayer,
"maxAvailableSpatial", maxAvailableSpatial,
"maxAvailableTemporal", maxAvailableTemporal,
"distance", distance,
"distanceToDesired", float64(distance)/float64(maxSeenLayer.Temporal+1),
)
return float64(distance) / float64(maxSeenLayer.Temporal+1)
}