diff options
author | Diva Canto | 2013-07-15 11:27:49 -0700 |
---|---|---|
committer | Diva Canto | 2013-07-15 11:27:49 -0700 |
commit | ac73e702935dd4607c13aaec3095940fba7932ca (patch) | |
tree | a4cf65db546010bf798f7c8e1acf9499b4ed868c /OpenSim/Region | |
parent | This might address the following observed exception: (diff) | |
download | opensim-SC-ac73e702935dd4607c13aaec3095940fba7932ca.zip opensim-SC-ac73e702935dd4607c13aaec3095940fba7932ca.tar.gz opensim-SC-ac73e702935dd4607c13aaec3095940fba7932ca.tar.bz2 opensim-SC-ac73e702935dd4607c13aaec3095940fba7932ca.tar.xz |
Trying to hunt the CPU spikes recently experienced.
Revert "Comment out old inbound UDP throttling hack. This would cause the UDP"
This reverts commit 38e6da5522a53c7f65eac64ae7b0af929afb1ae6.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index 85270a6..e20a194 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | |||
@@ -1615,7 +1615,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1615 | { | 1615 | { |
1616 | IncomingPacket incomingPacket = null; | 1616 | IncomingPacket incomingPacket = null; |
1617 | 1617 | ||
1618 | /* | ||
1619 | // HACK: This is a test to try and rate limit packet handling on Mono. | 1618 | // HACK: This is a test to try and rate limit packet handling on Mono. |
1620 | // If it works, a more elegant solution can be devised | 1619 | // If it works, a more elegant solution can be devised |
1621 | if (Util.FireAndForgetCount() < 2) | 1620 | if (Util.FireAndForgetCount() < 2) |
@@ -1623,7 +1622,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1623 | //m_log.Debug("[LLUDPSERVER]: Incoming packet handler is sleeping"); | 1622 | //m_log.Debug("[LLUDPSERVER]: Incoming packet handler is sleeping"); |
1624 | Thread.Sleep(30); | 1623 | Thread.Sleep(30); |
1625 | } | 1624 | } |
1626 | */ | ||
1627 | 1625 | ||
1628 | if (packetInbox.Dequeue(100, ref incomingPacket)) | 1626 | if (packetInbox.Dequeue(100, ref incomingPacket)) |
1629 | { | 1627 | { |