fix #1691: use asynchronous API call for HD create

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
This commit is contained in:
Wolfgang Link 2018-04-19 08:39:49 +02:00 committed by Thomas Lamprecht
parent 9c1fe394c0
commit 7cb345b816

View File

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