Skip to content
This repository was archived by the owner on Dec 28, 2022. It is now read-only.

Commit 16f0767

Browse files
committed
disable timeout as keep-alive is implicitly a better timeout
1 parent 1328e3c commit 16f0767

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ module.exports = class Hypercore extends EventEmitter {
152152
}
153153
if (opts.keepAlive !== false) {
154154
noiseStream.setKeepAlive(5000)
155-
noiseStream.setTimeout(10000)
156155
}
157156
noiseStream.userData = protocol
158157
}

0 commit comments

Comments
 (0)