A slight improvement on name fetching -- using the local name cache, since it exists.
parent
c8cc14a98b
commit
f29bd8036d
|
@ -209,6 +209,12 @@ namespace OpenSim.Framework.Communications
|
||||||
|
|
||||||
private string[] doUUIDNameRequest(UUID uuid)
|
private string[] doUUIDNameRequest(UUID uuid)
|
||||||
{
|
{
|
||||||
|
lock (m_nameRequestCache)
|
||||||
|
{
|
||||||
|
if (m_nameRequestCache.ContainsKey(uuid))
|
||||||
|
return m_nameRequestCache[uuid];
|
||||||
|
}
|
||||||
|
|
||||||
string[] returnstring = new string[0];
|
string[] returnstring = new string[0];
|
||||||
CachedUserInfo uinfo = UserProfileCacheService.GetUserDetails(uuid);
|
CachedUserInfo uinfo = UserProfileCacheService.GetUserDetails(uuid);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue