diff options
author | UbitUmarov | 2014-08-20 21:41:16 +0100 |
---|---|---|
committer | UbitUmarov | 2014-08-20 21:41:16 +0100 |
commit | 88587b4e73b240693bd03172d52c4f13b5f47868 (patch) | |
tree | 3176e93384f3a54e75db977ebdbc72b70735bf12 /OpenSim/Framework/PriorityQueue.cs | |
parent | remove from use the UpdatesResend on resending udp packets. Just resend (diff) | |
download | opensim-SC-88587b4e73b240693bd03172d52c4f13b5f47868.zip opensim-SC-88587b4e73b240693bd03172d52c4f13b5f47868.tar.gz opensim-SC-88587b4e73b240693bd03172d52c4f13b5f47868.tar.bz2 opensim-SC-88587b4e73b240693bd03172d52c4f13b5f47868.tar.xz |
reserve updates priority queue 2 for attachments, send them by it on
BestAvatarResp scheme. Attachments cannot be sent on imediate queues,
since they will block everything. Changed distance to priority math,
keeping identical result, shifted to start at queue 3.
Diffstat (limited to 'OpenSim/Framework/PriorityQueue.cs')
-rw-r--r-- | OpenSim/Framework/PriorityQueue.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Framework/PriorityQueue.cs b/OpenSim/Framework/PriorityQueue.cs index e4f1111..d6c39a7 100644 --- a/OpenSim/Framework/PriorityQueue.cs +++ b/OpenSim/Framework/PriorityQueue.cs | |||
@@ -62,7 +62,9 @@ namespace OpenSim.Framework | |||
62 | private uint m_nextQueue = 0; | 62 | private uint m_nextQueue = 0; |
63 | private uint m_countFromQueue = 0; | 63 | private uint m_countFromQueue = 0; |
64 | // first queues are imediate, so no counts | 64 | // first queues are imediate, so no counts |
65 | private uint[] m_queueCounts = {0, 0, 8, 4, 4, 2, 2, 2, 2, 1, 1, 1}; | 65 | // private uint[] m_queueCounts = { 0, 0, 8, 4, 4, 2, 2, 2, 2, 1, 1, 1 }; |
66 | private uint[] m_queueCounts = {0, 0, 8, 8, 5, 4, 3, 2, 1, 1, 1, 1}; | ||
67 | // this is ava, ava, attach, <10m, 20,40,80,160m,320,640,1280, + | ||
66 | 68 | ||
67 | // next request is a counter of the number of updates queued, it provides | 69 | // next request is a counter of the number of updates queued, it provides |
68 | // a total ordering on the updates coming through the queue and is more | 70 | // a total ordering on the updates coming through the queue and is more |