]> git.proxmox.com Git - pve-manager-legacy.git/commitdiff
fix #1691: use asynchronous API call for HD create
authorWolfgang Link <w.link@proxmox.com>
Thu, 19 Apr 2018 06:39:49 +0000 (08:39 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 20 Apr 2018 09:03:47 +0000 (11:03 +0200)
It should use an asynchronous API call to create an image,
because some storages may need longer to alloc an image.

If a storage needs more than 30 sec
the proxy will timeout and we have an orphan image.

Also, it is possible to increase the timeout for some
storages if an asynchronous call is used

www/manager6/qemu/HDEdit.js

index 237128e5476aff38f83cc1b634229dbd7dda7325..4b6039a7510632a1196e22539f6fca61a04bf92a 100644 (file)
@@ -364,6 +364,8 @@ Ext.define('PVE.qemu.HDEdit', {
 
     isAdd: true,
 
+    backgroundDelay: 5,
+
     initComponent : function() {
        var me = this;