diff options
author | UbitUmarov | 2016-07-01 16:24:42 +0100 |
---|---|---|
committer | UbitUmarov | 2016-07-01 16:24:42 +0100 |
commit | 6deced0193770a75d79466204866b4d75a4231d1 (patch) | |
tree | 7eb573432733610085a16494d06a2eb39672c013 /OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups | |
parent | revert several changes to groups modules (agentGroupData is private). change ... (diff) | |
download | opensim-SC_OLD-6deced0193770a75d79466204866b4d75a4231d1.zip opensim-SC_OLD-6deced0193770a75d79466204866b4d75a4231d1.tar.gz opensim-SC_OLD-6deced0193770a75d79466204866b4d75a4231d1.tar.bz2 opensim-SC_OLD-6deced0193770a75d79466204866b4d75a4231d1.tar.xz |
increase xmlrpc timeout in xmlrpcgroups, disable its cache until its entries invalidation is checked
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs | 6 |
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 | { |