Reduce loop count.

This commit is contained in:
JoelKatz
2013-03-06 20:58:38 -08:00
parent 8ed0705fa6
commit c821ed8d84

View File

@@ -812,7 +812,7 @@ TER RippleCalc::calcNodeAdvance(
int loopCount = 0; int loopCount = 0;
do do
{ {
if (++loopCount > 40) if (++loopCount > 20)
{ {
cLog(lsWARNING) << "Loop count exceeded"; cLog(lsWARNING) << "Loop count exceeded";
return tefEXCEPTION; return tefEXCEPTION;