feat(xo-server/listVmBackups): use backup.listingDebounce
setting (#4972)
This commit is contained in:
parent
4aa87f3fa5
commit
b8eeee1d5d
@ -934,9 +934,15 @@ export default class BackupNg {
|
||||
)()
|
||||
}
|
||||
|
||||
@decorateWith(debounceWithKey, 10e3, function keyFn(remoteId) {
|
||||
return [this, remoteId]
|
||||
})
|
||||
@decorateWith(
|
||||
debounceWithKey,
|
||||
function() {
|
||||
return parseDuration(this._backupOptions.listingDebounce)
|
||||
},
|
||||
function keyFn(remoteId) {
|
||||
return [this, remoteId]
|
||||
}
|
||||
)
|
||||
async _listVmBackupsOnRemote(remoteId: string) {
|
||||
const app = this._app
|
||||
const backupsByVm = {}
|
||||
|
Loading…
Reference in New Issue
Block a user