aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAdam Frisby2009-05-02 22:01:47 +0000
committerAdam Frisby2009-05-02 22:01:47 +0000
commit10276683597a35cce00842e481c2bc30b3e286e5 (patch)
treed8768b51bd0d872e37f590ebd22255f97f65d750
parentIf a packet pooling blows up, fail gracefully instead of disconnecting (diff)
downloadopensim-SC_OLD-10276683597a35cce00842e481c2bc30b3e286e5.zip
opensim-SC_OLD-10276683597a35cce00842e481c2bc30b3e286e5.tar.gz
opensim-SC_OLD-10276683597a35cce00842e481c2bc30b3e286e5.tar.bz2
opensim-SC_OLD-10276683597a35cce00842e481c2bc30b3e286e5.tar.xz
* Experimental: Speeds maximum resend per second from 80 packets to 400. (From maximum 117kbit to 585kbit)
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
index cabcb7d..24c790b 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
@@ -315,7 +315,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
315 // 315 //
316 if ((now - data.TickCount) > m_ResendTimeout && data.Sequence != 0 && !m_PacketQueue.Contains(data.Sequence)) 316 if ((now - data.TickCount) > m_ResendTimeout && data.Sequence != 0 && !m_PacketQueue.Contains(data.Sequence))
317 { 317 {
318 if (resent < 20) 318 if (resent < 100) // Was 20 (= Max 117kbit/sec resends)
319 { 319 {
320 m_NeedAck[packet.Header.Sequence].Resends++; 320 m_NeedAck[packet.Header.Sequence].Resends++;
321 321