Browse Source

mongo tail

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

2
swarmlab-app/src/run/app.js

@ -408,7 +408,7 @@ function onCollection(err, collection) {
cursor.on('data', function (data) {
console.log('data ' + data.value);
var user = "anagnostopoulos@uniwa.gr"
io.in(user).emit("logdata", reslog);
io.in(user).emit("logdata", data.value);
itemsProcessed++;
});

Loading…
Cancel
Save