Commit 5706408b authored by Stefan Priebe's avatar Stefan Priebe Committed by Dietmar Maurer

remove custom GUI timeout for stop and shutdown. Qemu API has already a useful default timeout.

Signed-off-by: 's avatarStefan Priebe <s.priebe@profihost.ag>
parent 0ddcf25d
...@@ -241,7 +241,7 @@ Ext.define('PVE.KVMConsole', { ...@@ -241,7 +241,7 @@ Ext.define('PVE.KVMConsole', {
if (btn !== 'yes') { if (btn !== 'yes') {
return; return;
} }
vm_command('shutdown', {timeout: 30}); vm_command('shutdown');
}); });
} }
}, },
...@@ -253,7 +253,7 @@ Ext.define('PVE.KVMConsole', { ...@@ -253,7 +253,7 @@ Ext.define('PVE.KVMConsole', {
if (btn !== 'yes') { if (btn !== 'yes') {
return; return;
} }
vm_command("stop", { timeout: 30}); vm_command("stop");
}); });
} }
}, },
...@@ -452,4 +452,4 @@ Ext.define('PVE.Shell', { ...@@ -452,4 +452,4 @@ Ext.define('PVE.Shell', {
me.callParent(); me.callParent();
} }
}); });
\ No newline at end of file
...@@ -73,7 +73,7 @@ Ext.define('PVE.qemu.CmdMenu', { ...@@ -73,7 +73,7 @@ Ext.define('PVE.qemu.CmdMenu', {
return; return;
} }
vm_command("stop", { timeout: 30 }); vm_command("stop");
}); });
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment