From 103bb6f23e63763962642913be673ffc5420441a Mon Sep 17 00:00:00 2001 From: zeus Date: Wed, 25 Nov 2020 13:00:26 +0200 Subject: [PATCH] redis --- swarmlab-app/src/run/app.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index a94d18a..139f13a 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -425,7 +425,6 @@ function onCollection(err, collection) { var indexupdate = true var resob = {} //var indexfind1 = global.pipelines.findIndex(x => x.pathlogfile==pathfileval); - (async() => { pubClient.hgetall(pathfileval, function(err, object) { if(object){ indexupdate = false @@ -433,7 +432,6 @@ function onCollection(err, collection) { console.log('redis '+JSON.stringify(object)); } }); - })() if (indexupdate ){ (async() => { var token = "d2539e5a7ae1f9f1b0eb2b8f22ca467a86d28407"; // desto