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

@@ -439,6 +439,7 @@ void Ledger::saveAcceptedLedger(bool fromConsensus)
}
theApp->getMasterLedger().setFullLedger(shared_from_this());
event = LoadEvent::pointer();
theApp->getOPs().pubLedger(shared_from_this());