ui: tape/BackupOverview: increase timeout for media-set content
a single catalog can be over 100MiB, and a media-set can have multiple catalogs to read (no technical upper limit). On slow disks, this can take much longer than 30 seconds (the default timeout). The real solution would be to have some kind of index only for the gui relevant part, e.g. a table in the beginning of the catalog, or alternatively a seperate file with that info. Until we have such a solution increase the timeout as a stopgap. Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
9ef88578af
commit
a14a1c7b90
@ -125,6 +125,9 @@ Ext.define('PBS.TapeManagement.BackupOverview', {
|
||||
let list = await Proxmox.Async.api2({
|
||||
method: 'GET',
|
||||
url: `/api2/extjs/tape/media/content`,
|
||||
// a big media-set with large catalogs can take a while to load
|
||||
// so we give a big (5min) timeout
|
||||
timeout: 5*60*1000,
|
||||
params: {
|
||||
'media-set': media_set_uuid,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user