Trying to hunt the CPU spikes recently experienced.

Revert "Comment out old inbound UDP throttling hack. This would cause the UDP"

This reverts commit 38e6da5522.
cpu-performance
Diva Canto 2013-07-15 11:27:49 -07:00
parent 60325f81d8
commit ac73e70293
1 changed files with 0 additions and 2 deletions

View File

@ -1615,7 +1615,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
{
IncomingPacket incomingPacket = null;
/*
// HACK: This is a test to try and rate limit packet handling on Mono.
// If it works, a more elegant solution can be devised
if (Util.FireAndForgetCount() < 2)
@ -1623,7 +1622,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
//m_log.Debug("[LLUDPSERVER]: Incoming packet handler is sleeping");
Thread.Sleep(30);
}
*/
if (packetInbox.Dequeue(100, ref incomingPacket))
{