Change to raise socket io timeout, heartbeat interval and timeout to lower offline period
This commit is contained in:
parent
3db1214ecf
commit
223c0726cd
1 changed files with 2 additions and 2 deletions
|
@ -50,8 +50,8 @@ var sessionlife = config.sessionlife || 14 * 24 * 60 * 60 * 1000; //14 days
|
||||||
var staticcachetime = config.staticcachetime || 1 * 24 * 60 * 60 * 1000; // 1 day
|
var staticcachetime = config.staticcachetime || 1 * 24 * 60 * 60 * 1000; // 1 day
|
||||||
|
|
||||||
// socket.io
|
// socket.io
|
||||||
var heartbeatinterval = config.heartbeatinterval || 1000;
|
var heartbeatinterval = config.heartbeatinterval || 5000;
|
||||||
var heartbeattimeout = config.heartbeattimeout || 5000;
|
var heartbeattimeout = config.heartbeattimeout || 10000;
|
||||||
|
|
||||||
// document
|
// document
|
||||||
var documentmaxlength = config.documentmaxlength || 100000;
|
var documentmaxlength = config.documentmaxlength || 100000;
|
||||||
|
|
Loading…
Reference in a new issue