Skip to content

Commit

Permalink
ping log
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmer committed Oct 2, 2024
1 parent 98ce230 commit 5c9bc68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions waku/node/waku_node.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1253,6 +1253,7 @@ proc keepaliveLoop(node: WakuNode, keepalive: chronos.Duration) {.async.} =

for peer in peers:
try:
info "calling keepAlive dial", peerId = peer.peerId
let conn = await node.switch.dial(peer.peerId, peer.addrs, PingCodec)
let pingDelay = await node.libp2pPing.ping(conn)
await conn.close()
Expand Down

0 comments on commit 5c9bc68

Please sign in to comment.