aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs32
1 files changed, 16 insertions, 16 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
index eaff5a4..186dd84 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
@@ -137,7 +137,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
137 // 137 //
138 private Dictionary<uint, int> m_DupeTracker = 138 private Dictionary<uint, int> m_DupeTracker =
139 new Dictionary<uint, int>(); 139 new Dictionary<uint, int>();
140 private uint m_DupeTrackerWindow = 30; 140 //private uint m_DupeTrackerWindow = 30;
141 141
142 // Values for the SimStatsReporter 142 // Values for the SimStatsReporter
143 // 143 //
@@ -450,21 +450,21 @@ namespace OpenSim.Region.ClientStack.LindenUDP
450 // We can't keep an unlimited record of dupes. This will prune the 450 // We can't keep an unlimited record of dupes. This will prune the
451 // dictionary by age. 451 // dictionary by age.
452 // 452 //
453 private void PruneDupeTracker() 453// private void PruneDupeTracker()
454 { 454// {
455 lock (m_DupeTracker) 455// lock (m_DupeTracker)
456 { 456// {
457 Dictionary<uint, int> packs = 457// Dictionary<uint, int> packs =
458 new Dictionary<uint, int>(m_DupeTracker); 458// new Dictionary<uint, int>(m_DupeTracker);
459 459//
460 foreach (uint pack in packs.Keys) 460// foreach (uint pack in packs.Keys)
461 { 461// {
462 if (Util.UnixTimeSinceEpoch() - m_DupeTracker[pack] > 462// if (Util.UnixTimeSinceEpoch() - m_DupeTracker[pack] >
463 m_DupeTrackerWindow) 463// m_DupeTrackerWindow)
464 m_DupeTracker.Remove(pack); 464// m_DupeTracker.Remove(pack);
465 } 465// }
466 } 466// }
467 } 467// }
468 468
469 public void InPacket(Packet packet) 469 public void InPacket(Packet packet)
470 { 470 {