mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Change when we start the state timer.
This commit is contained in:
@@ -31,7 +31,7 @@ DatabaseCon::DatabaseCon(const std::string& name, const char *initStrings[], int
|
||||
std::string path=strprintf("%s%s", theConfig.DATA_DIR.c_str(), name.c_str());
|
||||
mDatabase=new SqliteDatabase(path.c_str());
|
||||
mDatabase->connect();
|
||||
for(int i=0; i<initCount; i++)
|
||||
for(int i = 0; i < initCount; ++i)
|
||||
mDatabase->executeSQL(initStrings[i], true);
|
||||
}
|
||||
|
||||
@@ -133,6 +133,7 @@ void Application::run()
|
||||
|
||||
mWallet.load();
|
||||
// mWallet.syncToLedger(true, &(*secondLedger));
|
||||
mNetOps.setStateTimer(5);
|
||||
|
||||
// temporary
|
||||
mIOService.run(); // This blocks
|
||||
|
||||
Reference in New Issue
Block a user