diff options
author | Wu Cheng-Han | 2016-10-23 21:42:27 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-10-23 21:42:27 +0800 |
commit | 223c0726cdc2c074c1404fb2d26c1f5f7dbcee73 (patch) | |
tree | 02d84e96f14b5f8fb0afdd85dad6507d093aadda /lib | |
parent | 3db1214ecf22ad54cd0d4bb324c461df252d9a51 (diff) |
Change to raise socket io timeout, heartbeat interval and timeout to lower offline period
Diffstat (limited to '')
-rw-r--r-- | lib/config.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/config.js b/lib/config.js index 63114975..b781c82b 100644 --- a/lib/config.js +++ b/lib/config.js @@ -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 // socket.io -var heartbeatinterval = config.heartbeatinterval || 1000; -var heartbeattimeout = config.heartbeattimeout || 5000; +var heartbeatinterval = config.heartbeatinterval || 5000; +var heartbeattimeout = config.heartbeattimeout || 10000; // document var documentmaxlength = config.documentmaxlength || 100000; |