aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-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