Skip to content
This repository was archived by the owner on Aug 23, 2019. It is now read-only.

Commit db5972f

Browse files
committed
fix: up handshake timeout to 60 seconds for default
1 parent ab4075e commit db5972f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/state.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class State {
2626
options = options || {}
2727

2828
this.remote = { nonce: null }
29-
this.timeout = options.timeout || 5e3
29+
this.timeout = options.timeout || 60e3
3030
this.secure = deferred.duplex()
3131
this.stream = handshake({ timeout: this.timeout }, callback)
3232
this.shake = this.stream.handshake

0 commit comments

Comments
 (0)