From fc670d9edb19662a91f4fd9e9cd49fb4dbcc5556 Mon Sep 17 00:00:00 2001 From: wangyix Date: Fri, 1 Aug 2014 16:44:01 -0700 Subject: [PATCH] minor threshold change --- libraries/networking/src/SequenceNumberStats.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/networking/src/SequenceNumberStats.cpp b/libraries/networking/src/SequenceNumberStats.cpp index 7e9022934b..4d6e0bb688 100644 --- a/libraries/networking/src/SequenceNumberStats.cpp +++ b/libraries/networking/src/SequenceNumberStats.cpp @@ -186,9 +186,9 @@ SequenceNumberStats::ArrivalInfo SequenceNumberStats::sequenceNumberReceived(qui // if we got a reasonable seq num but have a child instance tracking unreasonable seq nums, // reset it. if many consecutive reasonable seq nums have occurred (implying the unreasonable seq num - // that caused the creation of the child instance was just a fluke), delete our child instance. + // that caused the creation of the child instance was probably a fluke), delete our child instance. if (_childInstance) { - const int CONSECUTIVE_REASONABLE_CHILD_DELETE_THRESHOLD = 4; + const int CONSECUTIVE_REASONABLE_CHILD_DELETE_THRESHOLD = 8; if (_consecutiveReasonable >= CONSECUTIVE_REASONABLE_CHILD_DELETE_THRESHOLD) { _childInstance->reset(); } else {