aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorMelanie2009-10-27 20:28:12 +0000
committerMelanie2009-10-27 20:28:12 +0000
commit0d37883bfdb1c8e15187f63f170765c7909a6650 (patch)
tree25a5d722292d038d1ca314199b29efed54aed426 /OpenSim/Region/ClientStack
parentMerge branch 'master' into vehicles (diff)
parentRemove the rest of SECS. It was never used, except by an experimental version (diff)
downloadopensim-SC_OLD-0d37883bfdb1c8e15187f63f170765c7909a6650.zip
opensim-SC_OLD-0d37883bfdb1c8e15187f63f170765c7909a6650.tar.gz
opensim-SC_OLD-0d37883bfdb1c8e15187f63f170765c7909a6650.tar.bz2
opensim-SC_OLD-0d37883bfdb1c8e15187f63f170765c7909a6650.tar.xz
Merge branch 'master' into vehicles
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index e3233da..74d3262 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -801,6 +801,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
801 { 801 {
802 IncomingPacket incomingPacket = null; 802 IncomingPacket incomingPacket = null;
803 803
804 // HACK: This is a test to try and rate limit packet handling on Mono.
805 // If it works, a more elegant solution can be devised
806 if (Util.FireAndForgetCount() < 2)
807 {
808 //m_log.Debug("[LLUDPSERVER]: Incoming packet handler is sleeping");
809 Thread.Sleep(30);
810 }
811
804 if (packetInbox.Dequeue(100, ref incomingPacket)) 812 if (packetInbox.Dequeue(100, ref incomingPacket))
805 Util.FireAndForget(ProcessInPacket, incomingPacket); 813 Util.FireAndForget(ProcessInPacket, incomingPacket);
806 } 814 }