mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Tuning and cleanups for ledger fetching
* Track stats for ledger fetch and output * Reduce entries queried on timeout * Allow duplicate node requests on timeout * Don't query deep on timeout * Adjust latency tuning * Change high latency cutoff * Set absolute limit on reply entries * Small optimizations
This commit is contained in:
committed by
Nik Bougalis
parent
61e5359231
commit
fe89c74e3b
@@ -207,7 +207,7 @@ SHAMap::getMissingNodes(std::vector<SHAMapNodeID>& nodeIDs, std::vector<uint256>
|
||||
!static_cast<SHAMapInnerNode*>(d)->isFullBelow(generation))
|
||||
{
|
||||
stack.push (std::make_tuple (node, nodeID,
|
||||
firstChild, currentChild, fullBelow));
|
||||
firstChild, currentChild, fullBelow));
|
||||
|
||||
// Switch to processing the child node
|
||||
node = static_cast<SHAMapInnerNode*>(d);
|
||||
|
||||
Reference in New Issue
Block a user