Report the validated and publish ledger ages over insight

This commit is contained in:
mbhandary
2019-11-27 16:12:10 -05:00
committed by Nik Bougalis
parent 9fcc30df89
commit 9294a07362
2 changed files with 30 additions and 0 deletions

View File

@@ -155,6 +155,7 @@ LedgerMaster::LedgerMaster (Application& app, Stopwatch& stopwatch,
, ledger_fetch_size_ (app_.config().getValueFor(SizedItem::ledgerFetch))
, fetch_packs_ ("FetchPack", 65536, std::chrono::seconds {45}, stopwatch,
app_.journal("TaggedCache"))
, m_stats(std::bind (&LedgerMaster::collect_metrics, this),collector)
{
}