From 55ef60836f9133c49ebefe29daf25f5cdcf465b2 Mon Sep 17 00:00:00 2001 From: Ivan FB <128452529+Ivansete-status@users.noreply.github.com> Date: Thu, 13 Feb 2025 00:48:36 +0100 Subject: [PATCH] lightpush enhance log when handling request (#3297) --- waku/waku_lightpush/protocol.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/waku/waku_lightpush/protocol.nim b/waku/waku_lightpush/protocol.nim index b47f6e7ad..2967146db 100644 --- a/waku/waku_lightpush/protocol.nim +++ b/waku/waku_lightpush/protocol.nim @@ -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()