mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-27 23:25:53 +00:00
@@ -253,8 +253,9 @@ BackendInterface::fetchLedgerPage(
|
|||||||
bool reachedEnd = false;
|
bool reachedEnd = false;
|
||||||
while (keys.size() < limit && !reachedEnd)
|
while (keys.size() < limit && !reachedEnd)
|
||||||
{
|
{
|
||||||
ripple::uint256 const& curCursor =
|
ripple::uint256 const& curCursor = keys.size() ? keys.back()
|
||||||
keys.size() ? keys.back() : cursor ? *cursor : firstKey;
|
: cursor ? *cursor
|
||||||
|
: firstKey;
|
||||||
uint32_t seq = outOfOrder ? range->maxSequence : ledgerSequence;
|
uint32_t seq = outOfOrder ? range->maxSequence : ledgerSequence;
|
||||||
auto succ = fetchSuccessorKey(curCursor, seq, yield);
|
auto succ = fetchSuccessorKey(curCursor, seq, yield);
|
||||||
if (!succ)
|
if (!succ)
|
||||||
|
|||||||
@@ -16,11 +16,11 @@ private:
|
|||||||
{
|
{
|
||||||
MethodInfo() = default;
|
MethodInfo() = default;
|
||||||
|
|
||||||
std::atomic_uint started{0};
|
std::atomic_uint64_t started{0};
|
||||||
std::atomic_uint finished{0};
|
std::atomic_uint64_t finished{0};
|
||||||
std::atomic_uint errored{0};
|
std::atomic_uint64_t errored{0};
|
||||||
std::atomic_uint forwarded{0};
|
std::atomic_uint64_t forwarded{0};
|
||||||
std::atomic_uint duration{0};
|
std::atomic_uint64_t duration{0};
|
||||||
};
|
};
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user