Remove censorshipMaxWarnings

This commit is contained in:
ChronusZ
2019-02-05 13:48:54 -08:00
committed by Nik Bougalis
parent 0ebed96142
commit 1bb32134f8
2 changed files with 1 additions and 11 deletions

View File

@@ -512,14 +512,7 @@ RCLConsensus::Adaptor::doAccept(
<< " has not been included as of ledger " << curr
<< ".";
if (wait / censorshipWarnInternal == censorshipMaxWarnings)
{
JLOG(j.error()) << ss.str() << " Additional warnings suppressed.";
}
else
{
JLOG(j.warn()) << ss.str();
}
JLOG(j.warn()) << ss.str();
}
return false;

View File

@@ -51,9 +51,6 @@ class RCLConsensus
/** Warn for transactions that haven't been included every so many ledgers. */
constexpr static unsigned int censorshipWarnInternal = 15;
/** Stop warning after several warnings. */
constexpr static unsigned int censorshipMaxWarnings = 5;
// Implements the Adaptor template interface required by Consensus.
class Adaptor
{