Skip to content

Commit

Permalink
Log processData inside lock.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrippled committed Aug 23, 2024
1 parent a7e89a1 commit 8dcdc64
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/xrpld/app/ledger/detail/InboundLedger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1196,14 +1196,15 @@ InboundLedger::processData(
return -1;
}
}
JLOG(journal_.debug()) << "TimeoutCounter processData nodes " << packet.nodes().size() << " " << this;

SHAMapAddNode san;
receiveNode(packet, san);

JLOG(journal_.debug())
<< "Ledger "
<< "TimeoutCounter processData Ledger "
<< ((packet.type() == protocol::liTX_NODE) ? "TX" : "AS")
<< " node stats: " << san.get();
<< " node stats: " << san.get() << " " << this;

if (san.isUseful())
progress_ = true;
Expand Down

0 comments on commit 8dcdc64

Please sign in to comment.