From de5c9cc1a264f0fc44f4e147c9d01eaedb85c896 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Thu, 30 Aug 2012 10:44:09 -0700 Subject: [PATCH] Comment out some code that's causing an issue. --- src/LedgerTiming.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/LedgerTiming.cpp b/src/LedgerTiming.cpp index fb28164f51..a29f7ad2fa 100644 --- a/src/LedgerTiming.cpp +++ b/src/LedgerTiming.cpp @@ -38,6 +38,7 @@ int ContinuousLedgerTiming::shouldClose( << previousProposers << " before)"; return currentMSeconds; } +#if 0 // This false triggers on the genesis ledger if (previousMSeconds > (1000 * (LEDGER_IDLE_INTERVAL + 2))) // the last ledger was very slow to close { Log(lsTRACE) << "was slow to converge (p=" << (previousMSeconds) << ")"; @@ -45,6 +46,7 @@ int ContinuousLedgerTiming::shouldClose( return previousMSeconds; return previousMSeconds - 1000; } +#endif return idleInterval * 1000; // normal idle }