mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-22 12:05:53 +00:00
Fetch pack micro-optimizations.
This commit is contained in:
@@ -2195,7 +2195,7 @@ void NetworkOPs::makeFetchPack (Job&, boost::weak_ptr<Peer> wPeer,
|
||||
if (reply.objects ().size () >= 256)
|
||||
break;
|
||||
|
||||
haveLedger = wantLedger;
|
||||
haveLedger = MOVE_P(wantLedger);
|
||||
wantLedger = getLedgerByHash (haveLedger->getParentHash ());
|
||||
}
|
||||
while (wantLedger && (UptimeTimer::getInstance ().getElapsedSeconds () <= (uUptime + 1)));
|
||||
|
||||
Reference in New Issue
Block a user