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.
parent
78c0028179
commit
f9dd4ed89c
|
@ -429,7 +429,10 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||||
{
|
{
|
||||||
bool isMember;
|
bool isMember;
|
||||||
if (m_groupMemberCache.TryGetValue(avatar, out isMember))
|
if (m_groupMemberCache.TryGetValue(avatar, out isMember))
|
||||||
|
{
|
||||||
|
m_groupMemberCache.Update(avatar, isMember, m_groupMemberCacheTimeout);
|
||||||
return isMember;
|
return isMember;
|
||||||
|
}
|
||||||
|
|
||||||
IGroupsModule groupsModule = m_scene.RequestModuleInterface<IGroupsModule>();
|
IGroupsModule groupsModule = m_scene.RequestModuleInterface<IGroupsModule>();
|
||||||
if (groupsModule == null)
|
if (groupsModule == null)
|
||||||
|
|
Loading…
Reference in New Issue