Ledger acquire improvements and I/O reductions.

This commit is contained in:
JoelKatz
2013-04-25 11:09:57 -07:00
parent d2a541d615
commit 494202fbcf
7 changed files with 183 additions and 140 deletions

View File

@@ -2108,4 +2108,11 @@ int NetworkOPs::getFetchSize()
return mFetchPack.getCacheSize();
}
void NetworkOPs::gotFetchPack(bool progress)
{
mLastFetchPack = 0;
theApp->getJobQueue().addJob(jtLEDGER_DATA, "gotFetchPack",
boost::bind(&LedgerAcquireMaster::gotFetchPack, &theApp->getMasterLedgerAcquire(), _1));
}
// vim:ts=4