mirror of
https://github.com/waku-org/js-waku.git
synced 2025-01-24 19:29:30 +00:00
Add keep alive feature
Using libp2p ping protocol.
This commit is contained in:
parent
e3b4a42822
commit
381fc8b82c
@ -205,7 +205,7 @@ export class Waku {
|
||||
}
|
||||
|
||||
private startKeepAlive(peerId: PeerId, periodSecs: number): void {
|
||||
// Just in case a timer already exist
|
||||
// Just in case a timer already exist for this peer
|
||||
this.stopKeepAlive(peerId);
|
||||
|
||||
const peerIdStr = peerId.toB58String();
|
||||
|
Loading…
x
Reference in New Issue
Block a user