diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index 7f14371..8a1f267 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | |||
@@ -1686,6 +1686,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1686 | { | 1686 | { |
1687 | IncomingPacket incomingPacket = null; | 1687 | IncomingPacket incomingPacket = null; |
1688 | 1688 | ||
1689 | /* | ||
1689 | // HACK: This is a test to try and rate limit packet handling on Mono. | 1690 | // HACK: This is a test to try and rate limit packet handling on Mono. |
1690 | // If it works, a more elegant solution can be devised | 1691 | // If it works, a more elegant solution can be devised |
1691 | if (Util.FireAndForgetCount() < 2) | 1692 | if (Util.FireAndForgetCount() < 2) |
@@ -1693,6 +1694,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1693 | //m_log.Debug("[LLUDPSERVER]: Incoming packet handler is sleeping"); | 1694 | //m_log.Debug("[LLUDPSERVER]: Incoming packet handler is sleeping"); |
1694 | Thread.Sleep(30); | 1695 | Thread.Sleep(30); |
1695 | } | 1696 | } |
1697 | */ | ||
1696 | 1698 | ||
1697 | if (packetInbox.Dequeue(100, ref incomingPacket)) | 1699 | if (packetInbox.Dequeue(100, ref incomingPacket)) |
1698 | { | 1700 | { |