aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorDiva Canto2011-02-09 09:50:26 -0800
committerDiva Canto2011-02-09 09:50:26 -0800
commitf33e51e2ffd475ccdbc69429b4b4d707e88cc050 (patch)
tree6819eff61c1875e3b90e8502310c2b5838389179 /OpenSim/Region/ClientStack
parentFix the negative number problem in TokenBucket. mantis #5365 (diff)
downloadopensim-SC_OLD-f33e51e2ffd475ccdbc69429b4b4d707e88cc050.zip
opensim-SC_OLD-f33e51e2ffd475ccdbc69429b4b4d707e88cc050.tar.gz
opensim-SC_OLD-f33e51e2ffd475ccdbc69429b4b4d707e88cc050.tar.bz2
opensim-SC_OLD-f33e51e2ffd475ccdbc69429b4b4d707e88cc050.tar.xz
Comment instrumentation out. Not needed anymore. Left in comments, in case it is needed again. Mantis #5365
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs11
1 files changed, 7 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index 04fec95..207d213 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -1059,10 +1059,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1059 1059
1060 #endregion Update Timers 1060 #endregion Update Timers
1061 1061
1062 if (m_scene.EmergencyMonitoring) 1062 // Use this for emergency monitoring -- bug hunting
1063 clientPacketHandler = MonitoredClientOutgoingPacketHandler; 1063 //if (m_scene.EmergencyMonitoring)
1064 else 1064 // clientPacketHandler = MonitoredClientOutgoingPacketHandler;
1065 clientPacketHandler = ClientOutgoingPacketHandler; 1065 //else
1066 // clientPacketHandler = ClientOutgoingPacketHandler;
1066 1067
1067 // Handle outgoing packets, resends, acknowledgements, and pings for each 1068 // Handle outgoing packets, resends, acknowledgements, and pings for each
1068 // client. m_packetSent will be set to true if a packet is sent 1069 // client. m_packetSent will be set to true if a packet is sent
@@ -1118,6 +1119,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1118 } 1119 }
1119 1120
1120 #region Emergency Monitoring 1121 #region Emergency Monitoring
1122 // Alternative packet handler fuull of instrumentation
1123 // Handy for hunting bugs
1121 private Stopwatch watch1 = new Stopwatch(); 1124 private Stopwatch watch1 = new Stopwatch();
1122 private Stopwatch watch2 = new Stopwatch(); 1125 private Stopwatch watch2 = new Stopwatch();
1123 1126