mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

Blame SOURCES/0011-v2v-Increase-vCenter-https-timeout-to-10-minutes.patch

0d20ef
From 53f2552c819ab29e00464cf140778df7e6c678ee Mon Sep 17 00:00:00 2001
0d20ef
From: "Richard W.M. Jones" <rjones@redhat.com>
0d20ef
Date: Mon, 20 Oct 2014 14:03:13 +0100
0d20ef
Subject: [PATCH] v2v: Increase vCenter https timeout to 10 minutes.
0d20ef
0d20ef
(cherry picked from commit 9ddfbad814e55553d9d1cea08134311c12923cfe)
0d20ef
---
0d20ef
 v2v/vCenter.ml | 2 +-
0d20ef
 1 file changed, 1 insertion(+), 1 deletion(-)
0d20ef
0d20ef
diff --git a/v2v/vCenter.ml b/v2v/vCenter.ml
0d20ef
index d3869aa..c04247e 100644
0d20ef
--- a/v2v/vCenter.ml
0d20ef
+++ b/v2v/vCenter.ml
0d20ef
@@ -83,7 +83,7 @@ let rec map_path_to_uri verbose uri scheme server path format =
0d20ef
     let json_params = [
0d20ef
       "file.driver", JSON.String "https";
0d20ef
       "file.url", JSON.String url;
0d20ef
-      "file.timeout", JSON.Int 60;
0d20ef
+      "file.timeout", JSON.Int 600;
0d20ef
       (* Choose a large readahead.  See: RHBZ#1151033 *)
0d20ef
       "file.readahead", JSON.Int (64 * 1024 * 1024);
0d20ef
     ] in
0d20ef
-- 
0d20ef
1.8.3.1
0d20ef