Patch #9161
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
parent
b5a9b904dc
commit
2248ad2ed2
|
@ -339,7 +339,7 @@ namespace OpenSim.Region.Communications.OGS1
|
||||||
IList parameters = new ArrayList();
|
IList parameters = new ArrayList();
|
||||||
parameters.Add(param);
|
parameters.Add(param);
|
||||||
XmlRpcRequest req = new XmlRpcRequest("get_user_by_name", parameters);
|
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;
|
Hashtable respData = (Hashtable) resp.Value;
|
||||||
|
|
||||||
return ConvertXMLRPCDataToUserProfile(respData);
|
return ConvertXMLRPCDataToUserProfile(respData);
|
||||||
|
@ -368,7 +368,7 @@ namespace OpenSim.Region.Communications.OGS1
|
||||||
IList parameters = new ArrayList();
|
IList parameters = new ArrayList();
|
||||||
parameters.Add(param);
|
parameters.Add(param);
|
||||||
XmlRpcRequest req = new XmlRpcRequest("get_user_by_uuid", parameters);
|
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;
|
Hashtable respData = (Hashtable) resp.Value;
|
||||||
|
|
||||||
return ConvertXMLRPCDataToUserProfile(respData);
|
return ConvertXMLRPCDataToUserProfile(respData);
|
||||||
|
|
Loading…
Reference in New Issue