mirror of
https://github.com/waku-org/nwaku.git
synced 2025-02-22 20:08:40 +00:00
lightpush enhance log when handling request (#3297)
This commit is contained in:
parent
b792bee695
commit
35ebfa8d66
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user