mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
Cleanup messages.
This commit is contained in:
@@ -172,7 +172,7 @@ void Application::setup()
|
|||||||
#ifdef USE_LEVELDB
|
#ifdef USE_LEVELDB
|
||||||
if (mHashedObjectStore.isLevelDB())
|
if (mHashedObjectStore.isLevelDB())
|
||||||
{
|
{
|
||||||
cLog(lsFATAL) << "LDB";
|
cLog(lsINFO) << "LevelDB used for nodes";
|
||||||
leveldb::Options options;
|
leveldb::Options options;
|
||||||
options.create_if_missing = true;
|
options.create_if_missing = true;
|
||||||
options.block_cache = leveldb::NewLRUCache(theConfig.getSize(siHashNodeDBCache) * 1024 * 1024);
|
options.block_cache = leveldb::NewLRUCache(theConfig.getSize(siHashNodeDBCache) * 1024 * 1024);
|
||||||
@@ -191,7 +191,7 @@ void Application::setup()
|
|||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
cLog(lsFATAL) << "SQLite";
|
cLog(lsINFO) << "SQLite used for nodes";
|
||||||
boost::thread t5(boost::bind(&InitDB, &mHashNodeDB, "hashnode.db", HashNodeDBInit, HashNodeDBCount));
|
boost::thread t5(boost::bind(&InitDB, &mHashNodeDB, "hashnode.db", HashNodeDBInit, HashNodeDBCount));
|
||||||
t5.join();
|
t5.join();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user