From 35d6d7153ec3a4331e8b0597ca2a45723ea0a0fa Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 16 Dec 2022 11:32:16 -0500 Subject: [PATCH] *Increase default heartbeat to 1 minute --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index dff7e09..5fc7aed 100644 --- a/src/index.ts +++ b/src/index.ts @@ -39,7 +39,7 @@ export default class DHTCache extends EventEmitter { swarm: any, { id = swarm.keyPair.publicKey, - heartBeatInterval = 15, + heartBeatInterval = 60, ...opts }: { id?: Buffer; [key: string]: any } = {} ) {