We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d50bf87 commit ccedb2bCopy full SHA for ccedb2b
lib/server.js
@@ -37,8 +37,8 @@ function Server (opts) {
37
opts = opts || {};
38
39
this.wsEngine = opts.wsEngine || process.env.EIO_WS_ENGINE || 'uws';
40
- this.pingTimeout = opts.pingTimeout || 60000;
41
- this.pingInterval = opts.pingInterval || 25000;
+ this.pingTimeout = opts.pingTimeout || 5000;
+ this.pingInterval = opts.pingInterval || 15000;
42
this.upgradeTimeout = opts.upgradeTimeout || 10000;
43
this.maxHttpBufferSize = opts.maxHttpBufferSize || 10E7;
44
this.transports = opts.transports || Object.keys(transports);
0 commit comments