From 2c7fc94783fa32f430b857cdfb7c93c3aa22a4dd Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Mon, 23 Jan 2017 13:51:21 +0100 Subject: [PATCH] start vncproxy worker in the background this allows it to use the vncproxy api call to use from pvesh, because before we waited until the task finished to get the vncticket which was too late Signed-off-by: Dominik Csapak --- PVE/API2/Qemu.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 80bc141b..67d8c0a8 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -1484,7 +1484,7 @@ __PACKAGE__->register_method({ return; }; - my $upid = $rpcenv->fork_worker('vncproxy', $vmid, $authuser, $realcmd); + my $upid = $rpcenv->fork_worker('vncproxy', $vmid, $authuser, $realcmd, 1); PVE::Tools::wait_for_vnc_port($port);