[pbs-devel] [PATCH widget-toolkit] fix #4961: disks: increase timeout to 1min

Gabriel Goller g.goller at proxmox.com
Thu Sep 21 10:21:57 CEST 2023


Increase the timeout of the api call to `../nodes/localhost/disks/list`
to 1min. When having a lot of disks the default timeout of 30sec is
not enough.

Signed-off-by: Gabriel Goller <g.goller at proxmox.com>
---
 src/panel/DiskList.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/panel/DiskList.js b/src/panel/DiskList.js
index c5a0050..5785297 100644
--- a/src/panel/DiskList.js
+++ b/src/panel/DiskList.js
@@ -70,6 +70,7 @@ Ext.define('Proxmox.DiskList', {
 		type: 'proxmox',
 		extraParams: extraParams,
 		url: url,
+		timeout: 60*1000,
 	    });
 	    me.store.load();
 	},
-- 
2.39.2






More information about the pbs-devel mailing list