Some extra debug.

This commit is contained in:
JoelKatz
2012-08-29 00:03:30 -07:00
parent 004f3719a5
commit af5c04b816

View File

@@ -33,7 +33,8 @@ int ContinuousLedgerTiming::shouldClose(
{ // no transactions so far this interval
if (proposersClosed > (previousProposers / 4)) // did we miss a transaction?
{
Log(lsTRACE) << "no transactions, many proposers: now";
Log(lsTRACE) << "no transactions, many proposers: now (" << proposersClose << "closed, "
<< previousProposers << " before)";
return currentMSeconds;
}
if (previousMSeconds > (1000 * (LEDGER_IDLE_INTERVAL + 2))) // the last ledger was very slow to close