mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
Fix thread names for threads started via pools (#4349)
`RenameThreadPool` calls `ThreadRename` which adds `dash-` prefix internally
This commit is contained in:
parent
ca32dc07d7
commit
b57970a70d
@ -64,7 +64,7 @@ void CBLSWorker::Start()
|
||||
int workerCount = std::thread::hardware_concurrency() / 2;
|
||||
workerCount = std::max(std::min(1, workerCount), 4);
|
||||
workerPool.resize(workerCount);
|
||||
RenameThreadPool(workerPool, "dash-bls-work");
|
||||
RenameThreadPool(workerPool, "bls-work");
|
||||
}
|
||||
|
||||
void CBLSWorker::Stop()
|
||||
|
@ -183,7 +183,7 @@ void CQuorumManager::Start()
|
||||
int workerCount = std::thread::hardware_concurrency() / 2;
|
||||
workerCount = std::max(std::min(1, workerCount), 4);
|
||||
workerPool.resize(workerCount);
|
||||
RenameThreadPool(workerPool, "dash-q-mngr");
|
||||
RenameThreadPool(workerPool, "q-mngr");
|
||||
}
|
||||
|
||||
void CQuorumManager::Stop()
|
||||
|
Loading…
Reference in New Issue
Block a user