mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-04 06:53:12 +00:00
lightpush enhance log when handling request (#3297)
This commit is contained in:
parent
701500665b
commit
55ef60836f
@ -46,10 +46,12 @@ proc handleRequest*(
|
|||||||
waku_lightpush_messages.inc(labelValues = ["PushRequest"])
|
waku_lightpush_messages.inc(labelValues = ["PushRequest"])
|
||||||
|
|
||||||
notice "handling lightpush request",
|
notice "handling lightpush request",
|
||||||
|
my_peer_id = wl.peerManager.switch.peerInfo.peerId,
|
||||||
peer_id = peerId,
|
peer_id = peerId,
|
||||||
requestId = requestId,
|
requestId = requestId,
|
||||||
pubsubTopic = pubsubTopic,
|
pubsubTopic = pubsubTopic,
|
||||||
msg_hash = pubsubTopic.computeMessageHash(message).to0xHex()
|
msg_hash = pubsubTopic.computeMessageHash(message).to0xHex(),
|
||||||
|
receivedTime = getNowInNanosecondTime()
|
||||||
|
|
||||||
let handleRes = await wl.pushHandler(peerId, pubsubTopic, message)
|
let handleRes = await wl.pushHandler(peerId, pubsubTopic, message)
|
||||||
isSuccess = handleRes.isOk()
|
isSuccess = handleRes.isOk()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user