cloudcms-server 3.2.298 → 3.2.301
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,8 +11,8 @@ exports = module.exports = function()
|
|
|
11
11
|
{
|
|
12
12
|
var logger = logFactory("AWARENESS");
|
|
13
13
|
var provider = null;
|
|
14
|
-
var REAP_FREQUENCY_MS =
|
|
15
|
-
var REAP_MAX_AGE_MS =
|
|
14
|
+
var REAP_FREQUENCY_MS = 5000; // five seconds
|
|
15
|
+
var REAP_MAX_AGE_MS = 120000; // two minutes
|
|
16
16
|
|
|
17
17
|
var pluginPaths = ["./plugins/editorial"];
|
|
18
18
|
var plugins = {};
|
|
@@ -382,6 +382,7 @@ exports = module.exports = function()
|
|
|
382
382
|
|
|
383
383
|
if (!err && success)
|
|
384
384
|
{
|
|
385
|
+
console.log("REAPING, channel: " + channelId + ", user: " + userId);
|
|
385
386
|
io.sockets.in(channelId).emit("lockReleased", channelId, userId);
|
|
386
387
|
}
|
|
387
388
|
|