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