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

To make it more usable on Andriod with Opaque.
This commit is contained in:
Dietmar Maurer 2014-01-16 08:49:13 +01:00
parent 105404851c
commit 14e306a939

View File

@ -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,