Browse Source

async

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

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

@ -505,9 +505,9 @@ function onCollection(err, collection) {
console.log('<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<obj>>>>>>>>>>>>>>>>>> '+JSON.stringify(resob1));
//var user = objecttmp.user25user
var user = resob1.res25creator
io.in(user).emit("logdata", reslog);
//var user = 'anagnostopoulos@uniwa.gr'
(async() => {
io.in(user).emit("logdata", reslog);
await pubClient.get(issend, function(err, object) {
if(err == null){
pubClient.set(issend, itemsProcessed, function(err, res) {

Loading…
Cancel
Save