mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
"Advance" thread to publish ledgers and fetch history.
This commit is contained in:
@@ -616,11 +616,6 @@ void Ledger::saveValidatedLedger (bool current)
|
||||
boost::mutex::scoped_lock sl (sPendingSaveLock);
|
||||
sPendingSaves.erase(getLedgerSeq());
|
||||
}
|
||||
|
||||
if (getApp().getJobQueue ().getJobCountTotal (jtPUBOLDLEDGER) < 2)
|
||||
getApp().getLedgerMaster ().resumeAcquiring ();
|
||||
else
|
||||
WriteLog (lsTRACE, Ledger) << "no resume, too many pending ledger saves";
|
||||
}
|
||||
|
||||
#ifndef NO_SQLITE3_PREPARE
|
||||
|
||||
Reference in New Issue
Block a user