Compare commits

...

3 Commits

Author SHA1 Message Date
Valentin Balaschenko
3d082775b9 Merge branch 'develop' into vlntb/resolve-long-thread-names 2026-01-13 16:55:57 +00:00
Valentin Balaschenko
aaf12be3c1 Merge branch 'develop' into vlntb/resolve-long-thread-names 2026-01-13 16:11:15 +00:00
Valentin Balaschenko
af2c7d7eac shorten thread names 2026-01-13 16:08:55 +00:00
5 changed files with 8 additions and 9 deletions

View File

@@ -123,7 +123,7 @@ RCLValidationsAdaptor::acquire(LedgerHash const& hash)
Application* pApp = &app_;
app_.getJobQueue().addJob(
jtADVANCE, "getConsensusLedger2", [pApp, hash, this]() {
jtADVANCE, "getConsensusL2", [pApp, hash, this]() {
JLOG(j_.debug())
<< "JOB advanceLedger getConsensusLedger2 started";
pApp->getInboundLedgers().acquireAsync(

View File

@@ -192,7 +192,7 @@ public:
// dispatch
if (ledger->gotData(std::weak_ptr<Peer>(peer), packet))
app_.getJobQueue().addJob(
jtLEDGER_DATA, "processLedgerData", [ledger]() {
jtLEDGER_DATA, "processLData", [ledger]() {
ledger->runData();
});

View File

@@ -12,7 +12,7 @@ NodeStoreScheduler::scheduleTask(NodeStore::Task& task)
if (jobQueue_.isStopped())
return;
if (!jobQueue_.addJob(jtWRITE, "NodeObject::store", [&task]() {
if (!jobQueue_.addJob(jtWRITE, "NodeObj::store", [&task]() {
task.performScheduledTask();
}))
{

View File

@@ -981,7 +981,7 @@ NetworkOPsImp::setHeartbeatTimer()
heartbeatTimer_,
mConsensus.parms().ledgerGRANULARITY,
[this]() {
m_job_queue.addJob(jtNETOP_TIMER, "NetOPs.heartbeat", [this]() {
m_job_queue.addJob(jtNETOP_TIMER, "Net.heartbeat", [this]() {
processHeartbeatTimer();
});
},
@@ -997,7 +997,7 @@ NetworkOPsImp::setClusterTimer()
clusterTimer_,
10s,
[this]() {
m_job_queue.addJob(jtNETOP_CLUSTER, "NetOPs.cluster", [this]() {
m_job_queue.addJob(jtNETOP_CLUSTER, "Net.cluster", [this]() {
processClusterTimer();
});
},
@@ -1370,9 +1370,8 @@ NetworkOPsImp::doTransactionSyncBatch(
if (mTransactions.size())
{
// More transactions need to be applied, but by another job.
if (m_job_queue.addJob(jtBATCH, "transactionBatch", [this]() {
transactionBatch();
}))
if (m_job_queue.addJob(
jtBATCH, "txnBatch", [this]() { transactionBatch(); }))
{
mDispatchState = DispatchState::scheduled;
}

View File

@@ -1876,7 +1876,7 @@ PeerImp::onMessage(std::shared_ptr<protocol::TMProposeSet> const& m)
std::weak_ptr<PeerImp> weak = shared_from_this();
app_.getJobQueue().addJob(
isTrusted ? jtPROPOSAL_t : jtPROPOSAL_ut,
"recvPropose->checkPropose",
"checkPropose",
[weak, isTrusted, m, proposal]() {
if (auto peer = weak.lock())
peer->checkPropose(isTrusted, m, proposal);