diff options
author | Justin Clarke Casey | 2008-08-01 19:24:48 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-08-01 19:24:48 +0000 |
commit | 10e0df0a2d757fbdfe76b6c60d8939fd17c42451 (patch) | |
tree | cb814f714fd643869f1e776a08fd4cebd0b235f5 /OpenSim/Framework/Communications/Cache | |
parent | * Drop cached inventory from the local region when a user crosses out into a ... (diff) | |
download | opensim-SC-10e0df0a2d757fbdfe76b6c60d8939fd17c42451.zip opensim-SC-10e0df0a2d757fbdfe76b6c60d8939fd17c42451.tar.gz opensim-SC-10e0df0a2d757fbdfe76b6c60d8939fd17c42451.tar.bz2 opensim-SC-10e0df0a2d757fbdfe76b6c60d8939fd17c42451.tar.xz |
* 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
Diffstat (limited to 'OpenSim/Framework/Communications/Cache')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs | 4 |
1 files changed, 4 insertions, 0 deletions
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 | |||
65 | /// <param name="userID"></param> | 65 | /// <param name="userID"></param> |
66 | public void AddNewUser(IClientAPI remoteClient) | 66 | public void AddNewUser(IClientAPI remoteClient) |
67 | { | 67 | { |
68 | m_log.DebugFormat("[USER CACHE]: Adding user profile for {0} {1}", remoteClient.Name, remoteClient.AgentId); | ||
69 | |||
68 | // Potential fix - Multithreading issue. | 70 | // Potential fix - Multithreading issue. |
69 | lock (m_userProfiles) | 71 | lock (m_userProfiles) |
70 | { | 72 | { |
@@ -92,6 +94,8 @@ namespace OpenSim.Framework.Communications.Cache | |||
92 | /// <param name="userID"></param> | 94 | /// <param name="userID"></param> |
93 | public void AddNewUser(LLUUID userID) | 95 | public void AddNewUser(LLUUID userID) |
94 | { | 96 | { |
97 | m_log.DebugFormat("[USER CACHE]: Adding user profile for {0}", userID); | ||
98 | |||
95 | // Potential fix - Multithreading issue. | 99 | // Potential fix - Multithreading issue. |
96 | lock (m_userProfiles) | 100 | lock (m_userProfiles) |
97 | { | 101 | { |