Commit e906abd8 by rongjun

bug

parent 7867dff8
......@@ -234,6 +234,12 @@ class BaseCollector {
}
});
},1000 *10);
this._runMonitor((data)=>{
if(data){
this.balanceMap = {...data};
redisClient.set(this.machine,JSON.stringify(this.balanceMap),"EX",30);
}
});
setInterval(()=>{
this._runMonitor((data)=>{
if(data){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment