mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Make ledger fetch tuning saner
This commit is contained in:
committed by
Scott Schurr
parent
0df1b09a73
commit
6fac038320
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user