mirror of
https://github.com/codex-storage/nim-codex-dht.git
synced 2025-01-24 10:51:20 +00:00
don't log bandwidth estimates
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
7057663f81
commit
8b1660464d
@ -1047,8 +1047,9 @@ proc debugPrintLoop(d: Protocol) {.async.} =
|
|||||||
debug "bucket", depth = b.getDepth,
|
debug "bucket", depth = b.getDepth,
|
||||||
len = b.nodes.len, standby = b.replacementLen
|
len = b.nodes.len, standby = b.replacementLen
|
||||||
for n in b.nodes:
|
for n in b.nodes:
|
||||||
debug "node", n, rttMin = n.stats.rttMin.int, rttAvg = n.stats.rttAvg.int,
|
debug "node", n, rttMin = n.stats.rttMin.int, rttAvg = n.stats.rttAvg.int
|
||||||
bwMaxMbps = (n.stats.bwMax / 1e6).round(3), bwAvgMbps = (n.stats.bwAvg / 1e6).round(3)
|
# bandwidth estimates are based on limited information, so not logging it yet to avoid confusion
|
||||||
|
# trace "node", n, bwMaxMbps = (n.stats.bwMax / 1e6).round(3), bwAvgMbps = (n.stats.bwAvg / 1e6).round(3)
|
||||||
|
|
||||||
func init*(
|
func init*(
|
||||||
T: type DiscoveryConfig,
|
T: type DiscoveryConfig,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user