Separate ledger publish logic so we can tell if clients are overloading us.

This commit is contained in:
JoelKatz
2012-11-23 12:15:04 -08:00
parent 4065106592
commit 8b53f85f60
5 changed files with 10 additions and 5 deletions

View File

@@ -1027,7 +1027,7 @@ void LedgerConsensus::beginAccept(bool synchronous)
else
{
theApp->getIOService().post(boost::bind(&LedgerConsensus::accept, shared_from_this(), consensusSet,
theApp->getJobQueue().getLoadEvent(jtLEDGER)));
theApp->getJobQueue().getLoadEvent(jtACCEPTLEDGER)));
}
}