Changed most of inventory packets to LowPriority, to see if that helps with freezing on searching large inventories.

arthursv
Diva Canto 2009-08-20 21:36:57 -07:00
parent 98da8e9b16
commit 922007443e
1 changed files with 6 additions and 6 deletions

View File

@ -1961,7 +1961,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
{ {
descend.Header.Zerocoded = true; descend.Header.Zerocoded = true;
AddNullFolderBlockToDecendentsPacket(ref descend); AddNullFolderBlockToDecendentsPacket(ref descend);
OutPacket(descend, ThrottleOutPacketType.Asset); OutPacket(descend, ThrottleOutPacketType.LowPriority);
if ((items.Count - count) > 0) if ((items.Count - count) > 0)
{ {
@ -1983,7 +1983,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
if (0 < i && i < MAX_ITEMS_PER_PACKET) if (0 < i && i < MAX_ITEMS_PER_PACKET)
{ {
AddNullFolderBlockToDecendentsPacket(ref descend); AddNullFolderBlockToDecendentsPacket(ref descend);
OutPacket(descend, ThrottleOutPacketType.Asset); OutPacket(descend, ThrottleOutPacketType.LowPriority);
} }
} }
@ -2021,7 +2021,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
if (i == MAX_ITEMS_PER_PACKET) if (i == MAX_ITEMS_PER_PACKET)
{ {
AddNullItemBlockToDescendentsPacket(ref descend); AddNullItemBlockToDescendentsPacket(ref descend);
OutPacket(descend, ThrottleOutPacketType.Asset); OutPacket(descend, ThrottleOutPacketType.LowPriority);
if ((folders.Count - count) > 0) if ((folders.Count - count) > 0)
{ {
@ -2045,7 +2045,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
if (0 < i && i < MAX_ITEMS_PER_PACKET) if (0 < i && i < MAX_ITEMS_PER_PACKET)
{ {
AddNullItemBlockToDescendentsPacket(ref descend); AddNullItemBlockToDescendentsPacket(ref descend);
OutPacket(descend, ThrottleOutPacketType.Asset); OutPacket(descend, ThrottleOutPacketType.LowPriority);
} }
} }
@ -2056,7 +2056,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
descend.AgentData.Descendents = 0; descend.AgentData.Descendents = 0;
AddNullItemBlockToDescendentsPacket(ref descend); AddNullItemBlockToDescendentsPacket(ref descend);
AddNullFolderBlockToDecendentsPacket(ref descend); AddNullFolderBlockToDecendentsPacket(ref descend);
OutPacket(descend, ThrottleOutPacketType.Asset); OutPacket(descend, ThrottleOutPacketType.LowPriority);
} }
} }
@ -2153,7 +2153,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
FULL_MASK_PERMISSIONS, 1, FULL_MASK_PERMISSIONS, FULL_MASK_PERMISSIONS, FULL_MASK_PERMISSIONS, 1, FULL_MASK_PERMISSIONS, FULL_MASK_PERMISSIONS,
FULL_MASK_PERMISSIONS); FULL_MASK_PERMISSIONS);
inventoryReply.Header.Zerocoded = true; inventoryReply.Header.Zerocoded = true;
OutPacket(inventoryReply, ThrottleOutPacketType.Asset); OutPacket(inventoryReply, ThrottleOutPacketType.LowPriority);
} }
protected void SendBulkUpdateInventoryFolder(InventoryFolderBase folderBase) protected void SendBulkUpdateInventoryFolder(InventoryFolderBase folderBase)