aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDiva Canto2009-08-20 21:36:57 -0700
committerDiva Canto2009-08-20 21:36:57 -0700
commit922007443e7344f6696fbfc66ceec8f18bec65b9 (patch)
tree5a42882bbe8f9e86c9018e0138d3774952545979
parent* Make cache, actually cache. (diff)
downloadopensim-SC_OLD-922007443e7344f6696fbfc66ceec8f18bec65b9.zip
opensim-SC_OLD-922007443e7344f6696fbfc66ceec8f18bec65b9.tar.gz
opensim-SC_OLD-922007443e7344f6696fbfc66ceec8f18bec65b9.tar.bz2
opensim-SC_OLD-922007443e7344f6696fbfc66ceec8f18bec65b9.tar.xz
Changed most of inventory packets to LowPriority, to see if that helps with freezing on searching large inventories.
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index a7a5aa3..ce4b03b 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -1961,7 +1961,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1961 { 1961 {
1962 descend.Header.Zerocoded = true; 1962 descend.Header.Zerocoded = true;
1963 AddNullFolderBlockToDecendentsPacket(ref descend); 1963 AddNullFolderBlockToDecendentsPacket(ref descend);
1964 OutPacket(descend, ThrottleOutPacketType.Asset); 1964 OutPacket(descend, ThrottleOutPacketType.LowPriority);
1965 1965
1966 if ((items.Count - count) > 0) 1966 if ((items.Count - count) > 0)
1967 { 1967 {
@@ -1983,7 +1983,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1983 if (0 < i && i < MAX_ITEMS_PER_PACKET) 1983 if (0 < i && i < MAX_ITEMS_PER_PACKET)
1984 { 1984 {
1985 AddNullFolderBlockToDecendentsPacket(ref descend); 1985 AddNullFolderBlockToDecendentsPacket(ref descend);
1986 OutPacket(descend, ThrottleOutPacketType.Asset); 1986 OutPacket(descend, ThrottleOutPacketType.LowPriority);
1987 } 1987 }
1988 } 1988 }
1989 1989
@@ -2021,7 +2021,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
2021 if (i == MAX_ITEMS_PER_PACKET) 2021 if (i == MAX_ITEMS_PER_PACKET)
2022 { 2022 {
2023 AddNullItemBlockToDescendentsPacket(ref descend); 2023 AddNullItemBlockToDescendentsPacket(ref descend);
2024 OutPacket(descend, ThrottleOutPacketType.Asset); 2024 OutPacket(descend, ThrottleOutPacketType.LowPriority);
2025 2025
2026 if ((folders.Count - count) > 0) 2026 if ((folders.Count - count) > 0)
2027 { 2027 {
@@ -2045,7 +2045,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
2045 if (0 < i && i < MAX_ITEMS_PER_PACKET) 2045 if (0 < i && i < MAX_ITEMS_PER_PACKET)
2046 { 2046 {
2047 AddNullItemBlockToDescendentsPacket(ref descend); 2047 AddNullItemBlockToDescendentsPacket(ref descend);
2048 OutPacket(descend, ThrottleOutPacketType.Asset); 2048 OutPacket(descend, ThrottleOutPacketType.LowPriority);
2049 } 2049 }
2050 } 2050 }
2051 2051
@@ -2056,7 +2056,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
2056 descend.AgentData.Descendents = 0; 2056 descend.AgentData.Descendents = 0;
2057 AddNullItemBlockToDescendentsPacket(ref descend); 2057 AddNullItemBlockToDescendentsPacket(ref descend);
2058 AddNullFolderBlockToDecendentsPacket(ref descend); 2058 AddNullFolderBlockToDecendentsPacket(ref descend);
2059 OutPacket(descend, ThrottleOutPacketType.Asset); 2059 OutPacket(descend, ThrottleOutPacketType.LowPriority);
2060 } 2060 }
2061 } 2061 }
2062 2062
@@ -2153,7 +2153,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
2153 FULL_MASK_PERMISSIONS, 1, FULL_MASK_PERMISSIONS, FULL_MASK_PERMISSIONS, 2153 FULL_MASK_PERMISSIONS, 1, FULL_MASK_PERMISSIONS, FULL_MASK_PERMISSIONS,
2154 FULL_MASK_PERMISSIONS); 2154 FULL_MASK_PERMISSIONS);
2155 inventoryReply.Header.Zerocoded = true; 2155 inventoryReply.Header.Zerocoded = true;
2156 OutPacket(inventoryReply, ThrottleOutPacketType.Asset); 2156 OutPacket(inventoryReply, ThrottleOutPacketType.LowPriority);
2157 } 2157 }
2158 2158
2159 protected void SendBulkUpdateInventoryFolder(InventoryFolderBase folderBase) 2159 protected void SendBulkUpdateInventoryFolder(InventoryFolderBase folderBase)