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.

0.7.4.1
Snoopy Pfeffer 2012-04-10 15:51:26 +02:00
parent 78c0028179
commit f9dd4ed89c
1 changed files with 3 additions and 0 deletions

View File

@ -429,7 +429,10 @@ namespace OpenSim.Region.CoreModules.World.Land
{
bool isMember;
if (m_groupMemberCache.TryGetValue(avatar, out isMember))
{
m_groupMemberCache.Update(avatar, isMember, m_groupMemberCacheTimeout);
return isMember;
}
IGroupsModule groupsModule = m_scene.RequestModuleInterface<IGroupsModule>();
if (groupsModule == null)