Skip to content

Commit 595a672

Browse files
UdjinM6Duddino
authored andcommitted
Fix thread names to fit into 15 symbols (dashpay#3897)
1 parent 2f492d4 commit 595a672

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/bls/bls_worker.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ void CBLSWorker::Start()
6565
int workerCount = GetNumCores() / 2;
6666
workerCount = std::max(std::min(1, workerCount), 4);
6767
workerPool.resize(workerCount);
68-
69-
RenameThreadPool(workerPool, "pivx-bls-worker");
68+
RenameThreadPool(workerPool, "pivx-bls-work");
7069
}
7170

7271
void CBLSWorker::Stop()

src/llmq/quorums_chainlocks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,4 +484,4 @@ void CChainLocksHandler::Cleanup()
484484
lastCleanupTime = GetTimeMillis();
485485
}
486486

487-
}
487+
}

src/llmq/quorums_dkgsessionhandler.cpp

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

150-
std::string threadName = strprintf("quorum-phase-%d", params.type);
150+
std::string threadName = strprintf("llmq-%d", (uint8_t)params.type);
151151
phaseHandlerThread = std::thread(&TraceThread<std::function<void()> >, threadName, std::function<void()>(std::bind(&CDKGSessionHandler::PhaseHandlerThread, this)));
152152
}
153153

0 commit comments

Comments
 (0)