From 14e306a939ea840aa7de6940029df1bfced18b5b Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 16 Jan 2014 08:49:13 +0100 Subject: [PATCH] set spiceterm timeout to 40 (same value as ticket lifetime) To make it more usable on Andriod with Opaque. --- PVE/API2Tools.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/API2Tools.pm b/PVE/API2Tools.pm index 8db5eee0..3136e096 100644 --- a/PVE/API2Tools.pm +++ b/PVE/API2Tools.pm @@ -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,