Decouple LedgerMaster from configuration

This commit is contained in:
Nik Bougalis
2014-09-22 16:58:32 -07:00
committed by Vinnie Falco
parent 430229fd84
commit 659cf0c221
3 changed files with 40 additions and 22 deletions

View File

@@ -289,7 +289,9 @@ public:
, m_pathRequests (new PathRequests (
m_logs.journal("PathRequest"), m_collectorManager->collector ()))
, m_ledgerMaster (make_LedgerMaster (*m_jobQueue,
, m_ledgerMaster (make_LedgerMaster (getConfig ().RUN_STANDALONE,
getConfig ().FETCH_DEPTH, getConfig ().LEDGER_HISTORY,
getConfig ().getSize (siLedgerFetch), *m_jobQueue,
m_collectorManager->collector (), m_logs.journal("LedgerMaster")))
// VFALCO NOTE must come before NetworkOPs to prevent a crash due