proxmox-backup/www/data/RunningTasksStore.js
Thomas Lamprecht 601e42ac35 ui: running tasks: update limit to 100
else we'll never see the 99+ tasks ..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-07-11 12:53:32 +02:00

22 lines
469 B
JavaScript

Ext.define('PBS.data.RunningTasksStore', {
extend: 'Proxmox.data.UpdateStore',
singleton: true,
constructor: function(config) {
let me = this;
config = config || {};
Ext.apply(config, {
interval: 3000,
storeid: 'pbs-running-tasks-dash',
model: 'proxmox-tasks',
proxy: {
type: 'proxmox',
// maybe separate api call?
url: '/api2/json/nodes/localhost/tasks?running=1&limit=100',
},
});
me.callParent([config]);
},
});