Skip to content

Commit

Permalink
set spiceterm timeout to 40 (same value as ticket lifetime)
Browse files Browse the repository at this point in the history
To make it more usable on Andriod with Opaque.
  • Loading branch information
maurerdietmar committed Jan 16, 2014
1 parent 5be8749 commit f481098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PVE/API2Tools.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f481098

Please sign in to comment.