[Libguestfs] [PATCH] v2v: Increase the timeout of VMware curl connections (RHBZ#1146007).

Pino Toscano ptoscano at redhat.com
Fri Jun 26 13:35:34 UTC 2015


In data giovedì 25 giugno 2015 20:55:09, Richard W.M. Jones ha scritto:
> On certain webservers these appear to go beyond even 600 seconds (10
> minutes).
> ---
>  v2v/input_libvirt_vcenter_https.ml | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/v2v/input_libvirt_vcenter_https.ml b/v2v/input_libvirt_vcenter_https.ml
> index 01a6c89..c6b9a1f 100644
> --- a/v2v/input_libvirt_vcenter_https.ml
> +++ b/v2v/input_libvirt_vcenter_https.ml
> @@ -250,7 +250,8 @@ let map_source_to_uri ?readahead password uri scheme server path =
>      let json_params = [
>        "file.driver", JSON.String "https";
>        "file.url", JSON.String url;
> -      "file.timeout", JSON.Int 600;
> +      (* https://bugzilla.redhat.com/show_bug.cgi?id=1146007#c10 *)
> +      "file.timeout", JSON.Int 2000;
>      ] in
>  
>      let json_params =

LGTM.

Worth bumping directly to 3600 by now?

-- 
Pino Toscano




More information about the Libguestfs mailing list