Browse Source

async

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

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

@ -462,7 +462,7 @@ function onCollection(err, collection) {
var resob = {} var resob = {}
await pubClient.get(pathfileval, function(err, object) { await pubClient.get(pathfileval, function(err, object) {
console.log('----------------' + err + '<<<<<<<<<<<<<<<<<<<<<<' + object); console.log('----------------' + err + '<<<<<<<<<<<<<<<<<<<<<<' + object);
if(err == null){ if(object){
indexupdate = "no" indexupdate = "no"
}else{ }else{
console.log('redis '+JSON.stringify(object)); console.log('redis '+JSON.stringify(object));

Loading…
Cancel
Save