mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix some cases where the acquire engine can stall.
This commit is contained in:
@@ -124,7 +124,10 @@ void LedgerAcquire::onTimer(bool progress)
|
||||
else if (!progress)
|
||||
{
|
||||
if (!getPeerCount())
|
||||
{
|
||||
addPeers();
|
||||
resetTimer();
|
||||
}
|
||||
else
|
||||
trigger(Peer::pointer(), true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user