mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +08:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user