Improvements to the ServiceThrottleModule: added a category and an itemid to the interface, so that duplicate requests aren't enqueued more than once.

This commit is contained in:
Diva Canto
2013-07-16 19:04:30 -07:00
parent 5f27aaa6dd
commit 9432f3c94d
4 changed files with 40 additions and 11 deletions

View File

@@ -173,7 +173,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
}
// Not found in cache, queue continuation
m_ServiceThrottle.Enqueue(delegate
m_ServiceThrottle.Enqueue("name", uuid.ToString(), delegate
{
//m_log.DebugFormat("[YYY]: Name request {0}", uuid);
bool foundRealName = TryGetUserNames(uuid, names);