From 0ab1ed043446e25bc87cae7e6c87d24d87661286 Mon Sep 17 00:00:00 2001 From: zeus Date: Sat, 28 Nov 2020 19:41:23 +0200 Subject: [PATCH] async --- swarmlab-app/src/run/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index cbd3a56..529478f 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -505,9 +505,9 @@ function onCollection(err, collection) { console.log('<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>> '+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) {