From 4a56038d11a82cb9b6a0e11cfe935e6c52948bd2 Mon Sep 17 00:00:00 2001 From: Melanie Date: Wed, 2 Feb 2011 03:28:47 +0100 Subject: Change the timeout on WebUtil to 20s to help make more tps succeed --- OpenSim/Framework/WebUtil.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs index d731ac5..0593341 100644 --- a/OpenSim/Framework/WebUtil.cs +++ b/OpenSim/Framework/WebUtil.cs @@ -138,17 +138,17 @@ namespace OpenSim.Framework /// public static OSDMap PutToService(string url, OSDMap data) { - return ServiceOSDRequest(url,data,"PUT",10000); + return ServiceOSDRequest(url,data,"PUT",20000); } public static OSDMap PostToService(string url, OSDMap data) { - return ServiceOSDRequest(url,data,"POST",10000); + return ServiceOSDRequest(url,data,"POST",20000); } public static OSDMap GetFromService(string url) { - return ServiceOSDRequest(url,null,"GET",10000); + return ServiceOSDRequest(url,null,"GET",20000); } public static OSDMap ServiceOSDRequest(string url, OSDMap data, string method, int timeout) @@ -275,7 +275,7 @@ namespace OpenSim.Framework /// public static OSDMap PostToService(string url, NameValueCollection data) { - return ServiceFormRequest(url,data,10000); + return ServiceFormRequest(url,data,20000); } public static OSDMap ServiceFormRequest(string url, NameValueCollection data, int timeout) -- cgit v1.1