From a14a1c7b90aff166bbf93b2b15f6379d6db2b579 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Tue, 13 Jul 2021 09:09:14 +0200 Subject: [PATCH] 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 --- www/tape/BackupOverview.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/tape/BackupOverview.js b/www/tape/BackupOverview.js index 4ba53157..c368640c 100644 --- a/www/tape/BackupOverview.js +++ b/www/tape/BackupOverview.js @@ -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, },