mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-06 06:40:27 +08:00
实现缓存策略若干功能
This commit is contained in:
@@ -49,9 +49,13 @@ Tea.context(function () {
|
||||
this.globalChangedClusters = [];
|
||||
})
|
||||
.done(function () {
|
||||
let delay = 3000
|
||||
if (this.globalChangedClusters.length > 0) {
|
||||
delay = 30000
|
||||
}
|
||||
this.$delay(function () {
|
||||
this.checkClusterChanges()
|
||||
}, 3000)
|
||||
}, delay)
|
||||
})
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user