From 10e0df0a2d757fbdfe76b6c60d8939fd17c42451 Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Fri, 1 Aug 2008 19:24:48 +0000
Subject: * correct bug from last commit - for now don't drop cached user
profile when an agent is downgraded to a child agent * since upgrading to a
root agent doesn't currently re-retrieve the user profile
---
OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs | 4 ++++
1 file changed, 4 insertions(+)
(limited to 'OpenSim/Framework')
diff --git a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
index 5045c97..c4a6b31 100644
--- a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
+++ b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
@@ -65,6 +65,8 @@ namespace OpenSim.Framework.Communications.Cache
///
public void AddNewUser(IClientAPI remoteClient)
{
+ m_log.DebugFormat("[USER CACHE]: Adding user profile for {0} {1}", remoteClient.Name, remoteClient.AgentId);
+
// Potential fix - Multithreading issue.
lock (m_userProfiles)
{
@@ -92,6 +94,8 @@ namespace OpenSim.Framework.Communications.Cache
///
public void AddNewUser(LLUUID userID)
{
+ m_log.DebugFormat("[USER CACHE]: Adding user profile for {0}", userID);
+
// Potential fix - Multithreading issue.
lock (m_userProfiles)
{
--
cgit v1.1