mirror of https://github.com/waku-org/js-waku.git
Merge pull request #915 from status-im/logs
This commit is contained in:
commit
9248b01958
|
@ -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)
|
||||||
);
|
);
|
||||||
|
|
|
@ -232,7 +232,8 @@ export class WakuStore {
|
||||||
}
|
}
|
||||||
|
|
||||||
dbg(
|
dbg(
|
||||||
`${response.messages.length} messages retrieved for pubsub topic ${opts.pubSubTopic}`
|
`${response.messages.length} messages retrieved for (${opts.pubSubTopic})`,
|
||||||
|
contentTopics
|
||||||
);
|
);
|
||||||
|
|
||||||
const pageMessages: WakuMessage[] = [];
|
const pageMessages: WakuMessage[] = [];
|
||||||
|
|
Loading…
Reference in New Issue