Make ledger fetch tuning saner

This commit is contained in:
David Schwartz
2017-01-19 15:19:51 -08:00
committed by Scott Schurr
parent 0df1b09a73
commit 6fac038320
2 changed files with 5 additions and 5 deletions

View File

@@ -1044,7 +1044,7 @@ LedgerMaster::findNewLedgersToPublish ()
}
// Can we try to acquire the ledger we need?
if (! ledger && (++acqCount < 4))
if (! ledger && (++acqCount < ledger_fetch_size_))
ledger = app_.getInboundLedgers ().acquire(
*hash, seq, InboundLedger::fcGENERIC);