mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix a case that could stall the acquire engine.
This commit is contained in:
@@ -224,6 +224,8 @@ void LedgerAcquire::trigger(Peer::ref peer, bool timer)
|
|||||||
tmGL.set_itype(ripple::liBASE);
|
tmGL.set_itype(ripple::liBASE);
|
||||||
cLog(lsTRACE) << "Sending base request to " << (peer ? "selected peer" : "all peers");
|
cLog(lsTRACE) << "Sending base request to " << (peer ? "selected peer" : "all peers");
|
||||||
sendRequest(tmGL, peer);
|
sendRequest(tmGL, peer);
|
||||||
|
if (timer)
|
||||||
|
resetTimer();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user