mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 15:35:50 +00:00
This keeps the two timing schemes compatible.
This commit is contained in:
@@ -53,7 +53,7 @@ bool ContinuousLedgerTiming::shouldClose(
|
|||||||
return currentMSeconds >= (idleInterval * 1000); // normal idle
|
return currentMSeconds >= (idleInterval * 1000); // normal idle
|
||||||
}
|
}
|
||||||
|
|
||||||
if (openMSeconds < LEDGER_MIN_CLOSE)
|
if ((openMSeconds < LEDGER_MIN_CLOSE) && ((proposersClosed + proposersValidated) < (previousProposers / 2 )))
|
||||||
{
|
{
|
||||||
cLog(lsDEBUG) << "Must wait minimum time before closing";
|
cLog(lsDEBUG) << "Must wait minimum time before closing";
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user