|
|
@ -466,8 +466,7 @@ function onCollection(err, collection) { |
|
|
|
reslog.log = data |
|
|
|
var user1 = objecttmp.user25user.replace(/[\n\t\r]/g,"") |
|
|
|
|
|
|
|
(async() => { |
|
|
|
await pubClient.get(issend, function(err, object) { |
|
|
|
pubClient.get(issend, function(err, object) { |
|
|
|
if(object){ |
|
|
|
pubClient.set(issend, itemsProcessed, function(err, res) { |
|
|
|
io.in(user1).emit("logdata", reslog); |
|
|
@ -476,7 +475,6 @@ function onCollection(err, collection) { |
|
|
|
io.in(user1).emit("logdata", reslog); |
|
|
|
} |
|
|
|
}); |
|
|
|
})() //await inside yes
|
|
|
|
|
|
|
|
//io.in(user1).emit("logdata", reslog);
|
|
|
|
//console.log(' --- '+ JSON.stringify(reslog))
|
|
|
|