Fix duplication of full below cache and tree node cache

This commit is contained in:
JoelKatz
2015-03-29 16:10:19 -07:00
committed by Tom Ritchford
parent 352db260b2
commit 9a0fa79144
4 changed files with 9 additions and 30 deletions

View File

@@ -75,9 +75,9 @@ Json::Value doGetCounts (RPC::Context& context)
ret[jss::ledger_hit_rate] = app.getLedgerMaster ().getCacheHitRate ();
ret[jss::AL_hit_rate] = AcceptedLedger::getCacheHitRate ();
ret[jss::fullbelow_size] = static_cast<int>(app.getFullBelowCache().size());
ret[jss::treenode_cache_size] = app.getTreeNodeCache().getCacheSize();
ret[jss::treenode_track_size] = app.getTreeNodeCache().getTrackSize();
ret[jss::fullbelow_size] = static_cast<int>(app.family().fullbelow().size());
ret[jss::treenode_cache_size] = app.family().treecache().getCacheSize();
ret[jss::treenode_track_size] = app.family().treecache().getTrackSize();
std::string uptime;
int s = UptimeTimer::getInstance ().getElapsedSeconds ();