mirror of https://github.com/status-im/codimd.git
Change to raise socket io timeout, heartbeat interval and timeout to lower offline period
This commit is contained in:
parent
3db1214ecf
commit
223c0726cd
|
@ -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 New Issue