aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2016-07-01 16:24:42 +0100
committerUbitUmarov2016-07-01 16:24:42 +0100
commit6deced0193770a75d79466204866b4d75a4231d1 (patch)
tree7eb573432733610085a16494d06a2eb39672c013
parentrevert several changes to groups modules (agentGroupData is private). change ... (diff)
downloadopensim-SC-6deced0193770a75d79466204866b4d75a4231d1.zip
opensim-SC-6deced0193770a75d79466204866b4d75a4231d1.tar.gz
opensim-SC-6deced0193770a75d79466204866b4d75a4231d1.tar.bz2
opensim-SC-6deced0193770a75d79466204866b4d75a4231d1.tar.xz
increase xmlrpc timeout in xmlrpcgroups, disable its cache until its entries invalidation is checked
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs
index 1771825..acb37f6 100644
--- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs
@@ -180,6 +180,10 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
180 m_groupWriteKey = groupsConfig.GetString("XmlRpcServiceWriteKey", string.Empty); 180 m_groupWriteKey = groupsConfig.GetString("XmlRpcServiceWriteKey", string.Empty);
181 181
182 m_cacheTimeout = groupsConfig.GetInt("GroupsCacheTimeout", 30); 182 m_cacheTimeout = groupsConfig.GetInt("GroupsCacheTimeout", 30);
183
184 // disable cache until it is fixed
185 m_cacheTimeout = 0;
186
183 if (m_cacheTimeout == 0) 187 if (m_cacheTimeout == 0)
184 { 188 {
185 m_log.WarnFormat("[XMLRPC-GROUPS-CONNECTOR]: Groups Cache Disabled."); 189 m_log.WarnFormat("[XMLRPC-GROUPS-CONNECTOR]: Groups Cache Disabled.");
@@ -973,7 +977,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
973 977
974 try 978 try
975 { 979 {
976 resp = req.Send(m_groupsServerURI, 10000); 980 resp = req.Send(m_groupsServerURI, 30000);
977 981
978 if ((m_cacheTimeout > 0) && (CacheKey != null)) 982 if ((m_cacheTimeout > 0) && (CacheKey != null))
979 { 983 {