Change the timeout on WebUtil to 20s to help make more tps succeed

avinationmerge
Melanie 2011-02-02 03:28:47 +01:00
parent ba39d9f0e6
commit 4a56038d11
1 changed files with 4 additions and 4 deletions

View File

@ -138,17 +138,17 @@ namespace OpenSim.Framework
/// </summary> /// </summary>
public static OSDMap PutToService(string url, OSDMap data) 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) 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) 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) public static OSDMap ServiceOSDRequest(string url, OSDMap data, string method, int timeout)
@ -275,7 +275,7 @@ namespace OpenSim.Framework
/// </summary> /// </summary>
public static OSDMap PostToService(string url, NameValueCollection data) 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) public static OSDMap ServiceFormRequest(string url, NameValueCollection data, int timeout)