mirror of https://github.com/waku-org/js-waku.git
Merge pull request #1228 from waku-org/fix/keep-alive-payload
This commit is contained in:
commit
dbaf89831f
|
@ -54,7 +54,7 @@ export class KeepAliveManager {
|
|||
const interval = setInterval(() => {
|
||||
log("Sending Waku Relay ping message");
|
||||
relay
|
||||
.send(encoder, { payload: new Uint8Array() })
|
||||
.send(encoder, { payload: new Uint8Array([1]) })
|
||||
.catch((e) => log("Failed to send relay ping", e));
|
||||
}, relayPeriodSecs * 1000);
|
||||
this.relayKeepAliveTimers.set(peerId, interval);
|
||||
|
|
Loading…
Reference in New Issue