Browse Source

redis

master
zeus 4 years ago
parent
commit
103bb6f23e
  1. 2
      swarmlab-app/src/run/app.js

2
swarmlab-app/src/run/app.js

@ -425,7 +425,6 @@ function onCollection(err, collection) {
var indexupdate = true var indexupdate = true
var resob = {} var resob = {}
//var indexfind1 = global.pipelines.findIndex(x => x.pathlogfile==pathfileval); //var indexfind1 = global.pipelines.findIndex(x => x.pathlogfile==pathfileval);
(async() => {
pubClient.hgetall(pathfileval, function(err, object) { pubClient.hgetall(pathfileval, function(err, object) {
if(object){ if(object){
indexupdate = false indexupdate = false
@ -433,7 +432,6 @@ function onCollection(err, collection) {
console.log('redis '+JSON.stringify(object)); console.log('redis '+JSON.stringify(object));
} }
}); });
})()
if (indexupdate ){ if (indexupdate ){
(async() => { (async() => {
var token = "d2539e5a7ae1f9f1b0eb2b8f22ca467a86d28407"; // desto var token = "d2539e5a7ae1f9f1b0eb2b8f22ca467a86d28407"; // desto

Loading…
Cancel
Save