Skip to content

Commit

Permalink
lightpush enhance log when handling request (#3297)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivansete-status committed Feb 13, 2025
1 parent 9dc51f8 commit b2c42ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion waku/waku_lightpush/protocol.nim
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,12 @@ proc handleRequest*(
waku_lightpush_messages.inc(labelValues = ["PushRequest"])

notice "handling lightpush request",
my_peer_id = wl.peerManager.switch.peerInfo.peerId,
peer_id = peerId,
requestId = requestId,
pubsubTopic = pubsubTopic,
msg_hash = pubsubTopic.computeMessageHash(message).to0xHex()
msg_hash = pubsubTopic.computeMessageHash(message).to0xHex(),
receivedTime = getNowInNanosecondTime()

let handleRes = await wl.pushHandler(peerId, pubsubTopic, message)
isSuccess = handleRes.isOk()
Expand Down

0 comments on commit b2c42ac

Please sign in to comment.