From c821ed8d84a80aad820c5d26fe5d3079776fefd6 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Wed, 6 Mar 2013 20:58:38 -0800 Subject: [PATCH] Reduce loop count. --- src/cpp/ripple/RippleCalc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/ripple/RippleCalc.cpp b/src/cpp/ripple/RippleCalc.cpp index 1428928774..13554fdb79 100644 --- a/src/cpp/ripple/RippleCalc.cpp +++ b/src/cpp/ripple/RippleCalc.cpp @@ -812,7 +812,7 @@ TER RippleCalc::calcNodeAdvance( int loopCount = 0; do { - if (++loopCount > 40) + if (++loopCount > 20) { cLog(lsWARNING) << "Loop count exceeded"; return tefEXCEPTION;