mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fullbelow cache improvements.
This commit is contained in:
@@ -2345,6 +2345,8 @@ Json::Value RPCHandler::doGetCounts(Json::Value jvRequest, int& cost, ScopedLock
|
||||
ret["ledger_hit_rate"] = theApp->getLedgerMaster().getCacheHitRate();
|
||||
ret["AL_hit_rate"] = AcceptedLedger::getCacheHitRate();
|
||||
|
||||
ret["fullbelow_size"] = SHAMap::getFullBelowSize();
|
||||
|
||||
std::string uptime;
|
||||
int s = UptimeTimer::getInstance().getElapsedSeconds();
|
||||
textTime(uptime, s, "year", 365*24*60*60);
|
||||
|
||||
Reference in New Issue
Block a user