mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix duplication of full below cache and tree node cache
This commit is contained in:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user