mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-08 16:53:10 +00:00
chore: print log when sending relay ping
This commit is contained in:
parent
f6bb9b2fcd
commit
482a75fddc
@ -231,6 +231,7 @@ export class Waku {
|
|||||||
|
|
||||||
if (relayPeriodSecs !== 0) {
|
if (relayPeriodSecs !== 0) {
|
||||||
this.relayKeepAliveTimers[peerIdStr] = setInterval(() => {
|
this.relayKeepAliveTimers[peerIdStr] = setInterval(() => {
|
||||||
|
log("Sending Waku Relay ping message");
|
||||||
WakuMessage.fromBytes(new Uint8Array(), RelayPingContentTopic).then(
|
WakuMessage.fromBytes(new Uint8Array(), RelayPingContentTopic).then(
|
||||||
(wakuMsg) => this.relay.send(wakuMsg)
|
(wakuMsg) => this.relay.send(wakuMsg)
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user