diff options
author | Justin Clark-Casey (justincc) | 2013-10-31 23:59:22 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-10-31 23:59:22 +0000 |
commit | 4c4a1cf71526aa39346f2a8af124a5bcb51e735d (patch) | |
tree | ee56c097627768ee75842e24c22e0d3c7566b8b0 /OpenSim/Region | |
parent | minor: remove mono compiler warnings in AvatarPickerSearchModule and UploadBa... (diff) | |
download | opensim-SC_OLD-4c4a1cf71526aa39346f2a8af124a5bcb51e735d.zip opensim-SC_OLD-4c4a1cf71526aa39346f2a8af124a5bcb51e735d.tar.gz opensim-SC_OLD-4c4a1cf71526aa39346f2a8af124a5bcb51e735d.tar.bz2 opensim-SC_OLD-4c4a1cf71526aa39346f2a8af124a5bcb51e735d.tar.xz |
Start counting resent packets in the places that I missed when the stat was first added a few commits ago
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 5d3b5b5..1a2d4de 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -4367,6 +4367,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4367 | // Count this as a resent packet since we are going to requeue all of the updates contained in it | 4367 | // Count this as a resent packet since we are going to requeue all of the updates contained in it |
4368 | Interlocked.Increment(ref m_udpClient.PacketsResent); | 4368 | Interlocked.Increment(ref m_udpClient.PacketsResent); |
4369 | 4369 | ||
4370 | // We're not going to worry about interlock yet since its not currently critical that this total count | ||
4371 | // is 100% correct | ||
4372 | m_udpServer.PacketsResentCount++; | ||
4373 | |||
4370 | foreach (ObjectPropertyUpdate update in updates) | 4374 | foreach (ObjectPropertyUpdate update in updates) |
4371 | ResendPropertyUpdate(update); | 4375 | ResendPropertyUpdate(update); |
4372 | } | 4376 | } |
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index ca17771..3bd1ef1 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | |||
@@ -1237,6 +1237,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1237 | else | 1237 | else |
1238 | { | 1238 | { |
1239 | Interlocked.Increment(ref udpClient.PacketsResent); | 1239 | Interlocked.Increment(ref udpClient.PacketsResent); |
1240 | |||
1241 | // We're not going to worry about interlock yet since its not currently critical that this total count | ||
1242 | // is 100% correct | ||
1243 | PacketsResentCount++; | ||
1240 | } | 1244 | } |
1241 | 1245 | ||
1242 | #endregion Sequence Number Assignment | 1246 | #endregion Sequence Number Assignment |