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) { cursor.on('data', function (data) {
console.log('data ' + data.value); console.log('data ' + data.value);
var user = "anagnostopoulos@uniwa.gr" var user = "anagnostopoulos@uniwa.gr"
io.in(user).emit("logdata", reslog); io.in(user).emit("logdata", data.value);
itemsProcessed++; itemsProcessed++;
}); });

Loading…
Cancel
Save