Browse Source

async

master
zeus 4 years ago
parent
commit
78b46cb892
  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(ress == null){ if(err == null){
indexupdate = "no" indexupdate = "no"
}else{ }else{
console.log('redis '+JSON.stringify(object)); console.log('redis '+JSON.stringify(object));

Loading…
Cancel
Save