mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Comment out some code that's causing an issue.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user