api2/config/datastore: change create datastore api call to a worker

so that longer running creates (e.g. a slow storage), does not
run in a timeout and we can follow its creation

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
Dominik Csapak
2021-06-02 13:27:02 +02:00
committed by Dietmar Maurer
parent 062cf75cdf
commit 4708f4fc21
4 changed files with 62 additions and 19 deletions

View File

@ -75,6 +75,7 @@ Ext.define('PBS.DataStoreEdit', {
isAdd: true,
bodyPadding: 0,
showProgress: true,
cbindData: function(initialConfig) {
var me = this;