mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
Reduce loop count.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user