mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
Added an "immediate" queue to the priority queue. This is
per Melanie's very good suggestion. The immediate queue is serviced completely before all others, making it a very good place to put avatar updates & attachments. Moved the priority queue out of the LLUDP directory and into the framework. It is now a fairly general utility.
This commit is contained in:
@@ -88,7 +88,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
// If this is an update for our own avatar give it the highest priority
|
||||
if (client.AgentId == entity.UUID)
|
||||
return 0;
|
||||
return PriorityQueue.ImmediateQueue;
|
||||
|
||||
uint priority;
|
||||
|
||||
@@ -172,7 +172,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
// m_log.WarnFormat("[PRIORITIZER] attempt to use agent {0} not in the scene",client.AgentId);
|
||||
// throw new InvalidOperationException("Prioritization agent not defined");
|
||||
return Int32.MaxValue;
|
||||
return PriorityQueue.NumberOfQueues - 1;
|
||||
}
|
||||
|
||||
// Use group position for child prims, since we are putting child prims in
|
||||
|
||||
Reference in New Issue
Block a user