Comment instrumentation out. Not needed anymore. Left in comments, in case it is needed again. Mantis #5365
parent
1cd951e5ae
commit
f33e51e2ff
|
@ -1059,10 +1059,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
|
|
||||||
#endregion Update Timers
|
#endregion Update Timers
|
||||||
|
|
||||||
if (m_scene.EmergencyMonitoring)
|
// Use this for emergency monitoring -- bug hunting
|
||||||
clientPacketHandler = MonitoredClientOutgoingPacketHandler;
|
//if (m_scene.EmergencyMonitoring)
|
||||||
else
|
// clientPacketHandler = MonitoredClientOutgoingPacketHandler;
|
||||||
clientPacketHandler = ClientOutgoingPacketHandler;
|
//else
|
||||||
|
// clientPacketHandler = ClientOutgoingPacketHandler;
|
||||||
|
|
||||||
// Handle outgoing packets, resends, acknowledgements, and pings for each
|
// Handle outgoing packets, resends, acknowledgements, and pings for each
|
||||||
// client. m_packetSent will be set to true if a packet is sent
|
// client. m_packetSent will be set to true if a packet is sent
|
||||||
|
@ -1118,6 +1119,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Emergency Monitoring
|
#region Emergency Monitoring
|
||||||
|
// Alternative packet handler fuull of instrumentation
|
||||||
|
// Handy for hunting bugs
|
||||||
private Stopwatch watch1 = new Stopwatch();
|
private Stopwatch watch1 = new Stopwatch();
|
||||||
private Stopwatch watch2 = new Stopwatch();
|
private Stopwatch watch2 = new Stopwatch();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue