Commit 65b1ad1 1 parent 63e2528 commit 65b1ad1 Copy full SHA for 65b1ad1
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ to a single process.
196
196
- ` Object ` : optional, options object
197
197
- ** Options**
198
198
- ` pingTimeout ` (` Number ` ): how many ms without a pong packet to
199
- consider the connection closed (` 60000 ` )
199
+ consider the connection closed (` 5000 ` )
200
200
- ` pingInterval ` (` Number ` ): how many ms before sending a new ping
201
201
packet (` 25000 ` )
202
202
- ` upgradeTimeout ` (` Number ` ): how many ms before an uncompleted transport upgrade is cancelled (` 10000 ` )
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ function Server (opts) {
37
37
opts = opts || { } ;
38
38
39
39
this . wsEngine = opts . wsEngine || process . env . EIO_WS_ENGINE || 'ws' ;
40
- this . pingTimeout = opts . pingTimeout || 60000 ;
40
+ this . pingTimeout = opts . pingTimeout || 5000 ;
41
41
this . pingInterval = opts . pingInterval || 25000 ;
42
42
this . upgradeTimeout = opts . upgradeTimeout || 10000 ;
43
43
this . maxHttpBufferSize = opts . maxHttpBufferSize || 10E7 ;
You can’t perform that action at this time.
0 commit comments