From b16d6c030246dd80434815e09c37618efda0e8dc Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 11 Aug 2016 04:52:25 +0100 Subject: stop renewing xml cache entries expires. Let them expire or grid changes will ignored as long something keeq requesting (like group profiles refreshs). reduce the expire time more ignoring folish config. --- .../Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs index 83f08e0..88189c9 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs @@ -1008,11 +1008,11 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups respData.Add("error", e.ToString()); return respData; } - } - if ((m_cacheTimeout > 0) && (CacheKey != null)) - { - m_memoryCache.AddOrUpdate(CacheKey, resp, TimeSpan.FromSeconds(m_cacheTimeout)); + if ((m_cacheTimeout > 0) && (CacheKey != null)) + { + m_memoryCache.AddOrUpdate(CacheKey, resp, TimeSpan.FromSeconds(10)); + } } if (resp.Value is Hashtable) -- cgit v1.1