mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-02 05:37:19 +00:00
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 <d.csapak@proxmox.com>
This commit is contained in:
parent
680bacb473
commit
2c7fc94783
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user