aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJohn Hurliman2009-10-21 14:25:22 -0700
committerJohn Hurliman2009-10-21 14:25:22 -0700
commit62f1bfd136df7a68e9f829acc1db22354772bad3 (patch)
tree99795cd18019bfbec84bf24d5e70213a36648286 /OpenSim
parentRemoving the Sleep(0) call from the OutgoingPacketHandler (diff)
downloadopensim-SC_OLD-62f1bfd136df7a68e9f829acc1db22354772bad3.zip
opensim-SC_OLD-62f1bfd136df7a68e9f829acc1db22354772bad3.tar.gz
opensim-SC_OLD-62f1bfd136df7a68e9f829acc1db22354772bad3.tar.bz2
opensim-SC_OLD-62f1bfd136df7a68e9f829acc1db22354772bad3.tar.xz
Testing out a hack to identify the source of the high cpu usage
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs
index a43197d..de67ca7 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs
@@ -552,6 +552,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
552 catch (Exception e) { m_log.Error("[LLUDPCLIENT]: OnQueueEmpty(" + type + ") threw an exception: " + e.Message, e); } 552 catch (Exception e) { m_log.Error("[LLUDPCLIENT]: OnQueueEmpty(" + type + ") threw an exception: " + e.Message, e); }
553 } 553 }
554 554
555 // HACK: Try spending some extra time here to slow down OnQueueEmpty calls
556 System.Threading.Thread.Sleep(100);
557
555 m_onQueueEmptyRunning[i] = false; 558 m_onQueueEmptyRunning[i] = false;
556 } 559 }
557 } 560 }