This commit is contained in:
Richard Holland
2024-11-10 08:41:13 +11:00
parent b54b01c3a6
commit dd124124d6
3 changed files with 12 additions and 9 deletions

View File

@@ -392,7 +392,8 @@ private:
if (app_.getFeeTrack().isLoadedLocal())
{
JLOG(j_.warn()) << "Ledger Cleaner: Waiting for load to subside";
JLOG(j_.warn())
<< "Ledger Cleaner: Waiting for load to subside";
std::this_thread::sleep_for(std::chrono::seconds(5));
continue;
}
@@ -416,12 +417,14 @@ private:
if (ledgerHash.isZero())
{
JLOG(j_.warn())
<< "Ledger Cleaner: Unable to get hash for ledger " << ledgerIndex;
<< "Ledger Cleaner: Unable to get hash for ledger "
<< ledgerIndex;
fail = true;
}
else if (!doLedger(ledgerIndex, ledgerHash, doNodes, doTxns))
{
JLOG(j_.warn()) << "Ledger Cleaner: Failed to process ledger " << ledgerIndex;
JLOG(j_.warn()) << "Ledger Cleaner: Failed to process ledger "
<< ledgerIndex;
fail = true;
}

View File

@@ -40,7 +40,6 @@ class NetworkOPs;
class SHAMapStoreImp : public SHAMapStore
{
private:
class SavedStateDB
{
public:

View File

@@ -25,6 +25,7 @@
#include <ripple/basics/base_uint.h>
#include <ripple/beast/net/IPEndpoint.h>
#include <ripple/beast/utility/Journal.h>
#include <ripple/core/ConfigSections.h>
#include <ripple/protocol/PublicKey.h>
#include <ripple/protocol/SystemParameters.h> // VFALCO Breaks levelization
#include <boost/beast/core/string.hpp>
@@ -39,7 +40,6 @@
#include <type_traits>
#include <unordered_set>
#include <vector>
#include <ripple/core/ConfigSections.h>
namespace ripple {
@@ -354,11 +354,12 @@ public:
bool
mem_backend() const
{
static bool const isMem =
(!section(SECTION_RELATIONAL_DB).empty() &&
boost::beast::iequals(get(section(SECTION_RELATIONAL_DB), "backend"), "memory")) ||
static bool const isMem =
(!section(SECTION_RELATIONAL_DB).empty() &&
boost::beast::iequals(
get(section(SECTION_RELATIONAL_DB), "backend"), "memory")) ||
(!section("node_db").empty() &&
boost::beast::iequals(get(section("node_db"), "type"), "memory"));
boost::beast::iequals(get(section("node_db"), "type"), "memory"));
return isMem;
}