mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
A slight improvement on name fetching -- using the local name cache, since it exists.
This commit is contained in:
@@ -209,6 +209,12 @@ namespace OpenSim.Framework.Communications
|
||||
|
||||
private string[] doUUIDNameRequest(UUID uuid)
|
||||
{
|
||||
lock (m_nameRequestCache)
|
||||
{
|
||||
if (m_nameRequestCache.ContainsKey(uuid))
|
||||
return m_nameRequestCache[uuid];
|
||||
}
|
||||
|
||||
string[] returnstring = new string[0];
|
||||
CachedUserInfo uinfo = UserProfileCacheService.GetUserDetails(uuid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user