mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 05:55:51 +00:00
Missing timeout limit.
# ../../../RippleLedger265050/
This commit is contained in:
@@ -45,6 +45,13 @@ void TransactionAcquire::done()
|
||||
|
||||
void TransactionAcquire::onTimer(bool progress)
|
||||
{
|
||||
if (getTimeouts() > 10)
|
||||
{
|
||||
cLog(lsWARNING) << "Giving up on TX set " << getHash();
|
||||
mFailed = true;
|
||||
done();
|
||||
return;
|
||||
}
|
||||
if (!getPeerCount())
|
||||
{ // out of peers
|
||||
cLog(lsWARNING) << "Out of peers for TX set " << getHash();
|
||||
|
||||
Reference in New Issue
Block a user