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