mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Simplify LedgerMaster:
- Eliminate `tune` member function and allow `LedgerHistory` to fully initialize itself.
This commit is contained in:
committed by
manojsdoshi
parent
6faaa91850
commit
c7e6803956
@@ -962,13 +962,6 @@ public:
|
||||
<< "' took " << elapsed.count() << " seconds.";
|
||||
}
|
||||
|
||||
// tune caches
|
||||
using namespace std::chrono;
|
||||
|
||||
m_ledgerMaster->tune(
|
||||
config_->getValueFor(SizedItem::ledgerSize),
|
||||
seconds{config_->getValueFor(SizedItem::ledgerAge)});
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user