add `ephemeral: true` to relay (#1123)

This commit is contained in:
Danish Arora 2023-01-19 14:30:23 +05:30 committed by GitHub
parent 6fb6615484
commit 828f8b40e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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