Browse Source

redis

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

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

@ -447,6 +447,8 @@ function onCollection(err, collection) {
reslog.date = convertDateToUTC(now) reslog.date = convertDateToUTC(now)
var user = resob1.res25creator var user = resob1.res25creator
console.log('datauser ' + JSON.stringify(user)); console.log('datauser ' + JSON.stringify(user));
//io.in(user).emit("logdata", reslog);
var user = 'anagnostopoulos@uniwa.gr'
io.in(user).emit("logdata", reslog); io.in(user).emit("logdata", reslog);
itemsProcessed++; itemsProcessed++;
})() })()

Loading…
Cancel
Save