Browse Source

sync redis

master
zeus 4 years ago
parent
commit
b9ebb430ee
  1. 6
      swarmlab-app/src/run/app.js

6
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 ')
// });
}

Loading…
Cancel
Save