From b9ebb430eed6f25ca1456403b0a387e35fff01a0 Mon Sep 17 00:00:00 2001 From: zeus Date: Fri, 27 Nov 2020 21:26:44 +0200 Subject: [PATCH] sync redis --- swarmlab-app/src/run/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 81d35cb..a469ac9 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -524,8 +524,8 @@ function onCollection(err, collection) { setInterval(function () { console.log('itemsProcessed', itemsProcessed); -// this method is also exposed by the Server instance - //console.log(adapter.rooms); + // this method is also exposed by the Server instance + //console.log(adapter.rooms); }, 8000); } @@ -600,7 +600,7 @@ io.on('connection', s => { var room = usersession.SOCKET.user //s.on("subscribe", function (room) { s.join(room); - console.log("joining rooom", s.rooms); + console.log("joining rooom", s.rooms); console.log(room + ' created ') // }); }