*Increase default heartbeat to 1 minute
This commit is contained in:
parent
a3efcf130b
commit
35d6d7153e
|
@ -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 } = {}
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in New Issue