mirror of https://github.com/waku-org/js-waku.git
add `ephemeral: true` to relay (#1123)
This commit is contained in:
parent
6fb6615484
commit
828f8b40e5
|
@ -234,7 +234,7 @@ export class WakuNode implements Waku {
|
||||||
|
|
||||||
const relay = this.relay;
|
const relay = this.relay;
|
||||||
if (relay && relayPeriodSecs !== 0) {
|
if (relay && relayPeriodSecs !== 0) {
|
||||||
const encoder = createEncoder(RelayPingContentTopic);
|
const encoder = createEncoder(RelayPingContentTopic, true);
|
||||||
this.relayKeepAliveTimers[peerIdStr] = setInterval(() => {
|
this.relayKeepAliveTimers[peerIdStr] = setInterval(() => {
|
||||||
log("Sending Waku Relay ping message");
|
log("Sending Waku Relay ping message");
|
||||||
relay
|
relay
|
||||||
|
|
Loading…
Reference in New Issue