Skip to content

Commit

Permalink
fixup: remove excessive debug
Browse files Browse the repository at this point in the history
Signed-off-by: Csaba Kiraly <[email protected]>
  • Loading branch information
cskiraly committed Oct 14, 2024
1 parent 706cb50 commit 7057663
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions codexdht/private/eth/p2p/discoveryv5/protocol.nim
Original file line number Diff line number Diff line change
Expand Up @@ -524,9 +524,7 @@ proc waitNodes(d: Protocol, fromNode: Node, reqId: RequestId):
let
deltaT = Moment.now() - firstTime
bwBps = 500.0 * 8.0 / (deltaT.nanoseconds.float / i.float / 1e9)
debug "bw estimate:", deltaT = deltaT, i,
bw_mbps = bwBps / 1e6,
node = fromNode
# trace "bw estimate:", deltaT = deltaT, i, bw_mbps = bwBps / 1e6, node = fromNode
fromNode.registerBw(bwBps)
else:
# No error on this as we received some nodes.
Expand Down

0 comments on commit 7057663

Please sign in to comment.