Commit f481098d authored by Dietmar Maurer's avatar Dietmar Maurer

set spiceterm timeout to 40 (same value as ticket lifetime)

To make it more usable on Andriod with Opaque.
parent 5be8749d
......@@ -146,7 +146,7 @@ sub run_spiceterm {
my ($ticket, undef, $remote_viewer_config) =
PVE::AccessControl::remote_viewer_config($authuser, $vmid, $node, $proxy, $title, $port);
my $timeout = 10;
my $timeout = 40;
my $cmd = ['/usr/bin/spiceterm', '--port', $port, '--addr', '127.0.0.1',
'--timeout', $timeout, '--authpath', $authpath,
......
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