mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Refactor to fix levelization:
* Remove Application & Database dependency in PerfLog. Replace it with a callback passed into the constructor. * Fixes the circular dependency between ripple/nodestore and ripple/basics
This commit is contained in:
committed by
manojsdoshi
parent
a529b218f3
commit
0623a40f02
@@ -1339,8 +1339,6 @@ ApplicationImp::setup()
|
||||
{
|
||||
// Fall back to syncing from the network, such as
|
||||
// when there's no existing data.
|
||||
if (startUp == Config::NETWORK && !config_->standalone())
|
||||
m_networkOPs->setNeedNetworkLedger();
|
||||
startGenesisLedger();
|
||||
}
|
||||
else
|
||||
|
||||
@@ -17,8 +17,9 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#include <ripple/perflog/impl/PerfLogImp.h>
|
||||
|
||||
#include <ripple/basics/BasicConfig.h>
|
||||
#include <ripple/basics/impl/PerfLogImp.h>
|
||||
#include <ripple/beast/core/CurrentThreadName.h>
|
||||
#include <ripple/beast/utility/Journal.h>
|
||||
#include <ripple/core/JobTypes.h>
|
||||
Reference in New Issue
Block a user