From 0e3e30cc4056f5760c7c46bf096fefd0539278e0 Mon Sep 17 00:00:00 2001 From: zeus Date: Wed, 25 Nov 2020 21:44:39 +0200 Subject: [PATCH] redis --- swarmlab-app/src/run/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index cd8ae78..06bc48a 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -447,6 +447,8 @@ function onCollection(err, collection) { reslog.date = convertDateToUTC(now) var user = resob1.res25creator console.log('datauser ' + JSON.stringify(user)); + //io.in(user).emit("logdata", reslog); + var user = 'anagnostopoulos@uniwa.gr' io.in(user).emit("logdata", reslog); itemsProcessed++; })()