aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorSnoopy Pfeffer2012-04-10 15:51:26 +0200
committerSnoopy Pfeffer2012-04-10 15:51:26 +0200
commitf9dd4ed89c7aff63191c3be0bfa9d24d15d1d4bc (patch)
treecca2692e0ffe4bade7952d47c384c454ff5a9de2 /OpenSim
parentMantis5502 implementation of some of the new constants (diff)
downloadopensim-SC_OLD-f9dd4ed89c7aff63191c3be0bfa9d24d15d1d4bc.zip
opensim-SC_OLD-f9dd4ed89c7aff63191c3be0bfa9d24d15d1d4bc.tar.gz
opensim-SC_OLD-f9dd4ed89c7aff63191c3be0bfa9d24d15d1d4bc.tar.bz2
opensim-SC_OLD-f9dd4ed89c7aff63191c3be0bfa9d24d15d1d4bc.tar.xz
Do not timeout group member cache entry, as long as there are frequent group membership requests. These are caused by movements within the parcel boundaries.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandObject.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
index ced7b52..7f44613 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
@@ -429,7 +429,10 @@ namespace OpenSim.Region.CoreModules.World.Land
429 { 429 {
430 bool isMember; 430 bool isMember;
431 if (m_groupMemberCache.TryGetValue(avatar, out isMember)) 431 if (m_groupMemberCache.TryGetValue(avatar, out isMember))
432 {
433 m_groupMemberCache.Update(avatar, isMember, m_groupMemberCacheTimeout);
432 return isMember; 434 return isMember;
435 }
433 436
434 IGroupsModule groupsModule = m_scene.RequestModuleInterface<IGroupsModule>(); 437 IGroupsModule groupsModule = m_scene.RequestModuleInterface<IGroupsModule>();
435 if (groupsModule == null) 438 if (groupsModule == null)