Start counting resent packets in the places that I missed when the stat was first added a few commits ago

link-sitting
Justin Clark-Casey (justincc) 2013-10-31 23:59:22 +00:00
parent 50794c9008
commit 4c4a1cf715
2 changed files with 8 additions and 0 deletions

View File

@ -4367,6 +4367,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
// Count this as a resent packet since we are going to requeue all of the updates contained in it // Count this as a resent packet since we are going to requeue all of the updates contained in it
Interlocked.Increment(ref m_udpClient.PacketsResent); Interlocked.Increment(ref m_udpClient.PacketsResent);
// We're not going to worry about interlock yet since its not currently critical that this total count
// is 100% correct
m_udpServer.PacketsResentCount++;
foreach (ObjectPropertyUpdate update in updates) foreach (ObjectPropertyUpdate update in updates)
ResendPropertyUpdate(update); ResendPropertyUpdate(update);
} }

View File

@ -1237,6 +1237,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
else else
{ {
Interlocked.Increment(ref udpClient.PacketsResent); Interlocked.Increment(ref udpClient.PacketsResent);
// We're not going to worry about interlock yet since its not currently critical that this total count
// is 100% correct
PacketsResentCount++;
} }
#endregion Sequence Number Assignment #endregion Sequence Number Assignment