Skip to content

Commit c8df22e

Browse files
committed
Fix thread names to fit into 15 symbols
1 parent 334e4b9 commit c8df22e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/bls/bls_worker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ void CBLSWorker::Start()
6363
int workerCount = std::thread::hardware_concurrency() / 2;
6464
workerCount = std::max(std::min(1, workerCount), 4);
6565
workerPool.resize(workerCount);
66-
RenameThreadPool(workerPool, "dash-bls-worker");
66+
RenameThreadPool(workerPool, "dash-bls-work");
6767
}
6868

6969
void CBLSWorker::Stop()

src/llmq/quorums_chainlocks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ CChainLocksHandler::CChainLocksHandler()
3535
{
3636
scheduler = new CScheduler();
3737
CScheduler::Function serviceLoop = boost::bind(&CScheduler::serviceQueue, scheduler);
38-
scheduler_thread = new boost::thread(boost::bind(&TraceThread<CScheduler::Function>, "cl-scheduler", serviceLoop));
38+
scheduler_thread = new boost::thread(boost::bind(&TraceThread<CScheduler::Function>, "cl-schdlr", serviceLoop));
3939
}
4040

4141
CChainLocksHandler::~CChainLocksHandler()

src/llmq/quorums_dkgsessionhandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ void CDKGSessionHandler::StartThread()
142142
throw std::runtime_error("Tried to start an already started CDKGSessionHandler thread.");
143143
}
144144

145-
std::string threadName = strprintf("q-phase-%d", (uint8_t)params.type);
145+
std::string threadName = strprintf("llmq-%d", (uint8_t)params.type);
146146
phaseHandlerThread = std::thread(&TraceThread<std::function<void()> >, threadName, std::function<void()>(std::bind(&CDKGSessionHandler::PhaseHandlerThread, this)));
147147
}
148148

src/llmq/quorums_instantsend.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ void CInstantSendManager::Start()
352352
assert(false);
353353
}
354354

355-
workThread = std::thread(&TraceThread<std::function<void()> >, "instantsend", std::function<void()>(std::bind(&CInstantSendManager::WorkThreadMain, this)));
355+
workThread = std::thread(&TraceThread<std::function<void()> >, "isman", std::function<void()>(std::bind(&CInstantSendManager::WorkThreadMain, this)));
356356

357357
quorumSigningManager->RegisterRecoveredSigsListener(this);
358358
}

0 commit comments

Comments
 (0)