Browse Source

sync

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

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

@ -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))

Loading…
Cancel
Save