From c8cd9d45a9f81312a214a640ab581033ab79211d Mon Sep 17 00:00:00 2001 From: Felicio Mununga Date: Wed, 16 Nov 2022 23:45:42 +0100 Subject: [PATCH] set pingKeepAlive to aid in connection recovery --- packages/status-js/src/client/client.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/status-js/src/client/client.ts b/packages/status-js/src/client/client.ts index c3d997c..b5b3af9 100644 --- a/packages/status-js/src/client/client.ts +++ b/packages/status-js/src/client/client.ts @@ -96,7 +96,8 @@ class Client { // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore emitSelf: true, - relayKeepAlive: 15, + pingKeepAlive: 15, + relayKeepAlive: 0, libp2p: { peerDiscovery: [ /**