Browse Source

async

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

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

@ -521,7 +521,7 @@ function onCollection(err, collection) {
pubClient.get(issend, function(err, object) { pubClient.get(issend, function(err, object) {
if(err == null){ if(err == null){
pubClient.set(issend, itemsProcessed, function(err, res) { pubClient.set(issend, itemsProcessed, function(err, res) {
io.in(user).emit("logdata", reslog); //io.in(user).emit("logdata", reslog);
}); });
} }
itemsProcessed++; itemsProcessed++;

Loading…
Cancel
Save