mirror of https://github.com/waku-org/js-waku.git
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…
Reference in New Issue