[pbs-devel] applied: [PATCH proxmox-backup] ui: tape/BackupOverview: increase timeout for media-set content

Dietmar Maurer dietmar at proxmox.com
Tue Jul 13 09:45:07 CEST 2021


applied

On 7/13/21 9:09 AM, Dominik Csapak wrote:
> 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 at proxmox.com>
> ---
>   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,
>   		    },





More information about the pbs-devel mailing list