From ef88e2ea082920bf687be4cc8216986a6c1c66d0 Mon Sep 17 00:00:00 2001 From: zeus Date: Sun, 29 Nov 2020 16:18:38 +0200 Subject: [PATCH] prox --- swarmlab-app/src/run/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 2b757f0..ec99982 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -474,7 +474,9 @@ async function iosend(data,issend,io,pubClient,user1){ console.log(issend + ' ---1 '+ JSON.stringify(reslog1)) io.in(user).emit("logdata", reslog1); }else{ - await setkey(issend) + //await setkey(issend) + await pubClient.set(issend, '1', function(err, res) { + }); console.log(issend + ' ---2 '+ JSON.stringify(reslog1)) io.in(user).emit("logdata", reslog1); }