*Increase default heartbeat to 1 minute

This commit is contained in:
Derrick Hammer 2022-12-16 11:32:16 -05:00
parent a3efcf130b
commit 35d6d7153e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ export default class DHTCache extends EventEmitter {
swarm: any, swarm: any,
{ {
id = swarm.keyPair.publicKey, id = swarm.keyPair.publicKey,
heartBeatInterval = 15, heartBeatInterval = 60,
...opts ...opts
}: { id?: Buffer; [key: string]: any } = {} }: { id?: Buffer; [key: string]: any } = {}
) { ) {