Increase GetUserProfile timeout from 6 to 30 seconds. Because 
the worker thread fo the XMLRPC data pump sits on a lock
while the system starts, regions with upwards of 6000 prims
throw and exception when that thread gets blocked for more
than 6 seconds, due to this timeout, and won't start.
0.6.0-stable
Melanie Thielker 2008-08-08 13:46:24 +00:00
parent b5a9b904dc
commit 2248ad2ed2
1 changed files with 2 additions and 2 deletions

View File

@ -339,7 +339,7 @@ namespace OpenSim.Region.Communications.OGS1
IList parameters = new ArrayList();
parameters.Add(param);
XmlRpcRequest req = new XmlRpcRequest("get_user_by_name", parameters);
XmlRpcResponse resp = req.Send(m_parent.NetworkServersInfo.UserURL, 6000);
XmlRpcResponse resp = req.Send(m_parent.NetworkServersInfo.UserURL, 30000);
Hashtable respData = (Hashtable) resp.Value;
return ConvertXMLRPCDataToUserProfile(respData);
@ -368,7 +368,7 @@ namespace OpenSim.Region.Communications.OGS1
IList parameters = new ArrayList();
parameters.Add(param);
XmlRpcRequest req = new XmlRpcRequest("get_user_by_uuid", parameters);
XmlRpcResponse resp = req.Send(m_parent.NetworkServersInfo.UserURL, 6000);
XmlRpcResponse resp = req.Send(m_parent.NetworkServersInfo.UserURL, 30000);
Hashtable respData = (Hashtable) resp.Value;
return ConvertXMLRPCDataToUserProfile(respData);