Always log number of threads for script verification
Helps for troubleshooting.
This commit is contained in:
parent
d064f7f3ee
commit
9bdec76037
1 changed files with 1 additions and 1 deletions
|
@ -746,8 +746,8 @@ bool AppInit2(boost::thread_group& threadGroup)
|
|||
LogPrintf("Using at most %i connections (%i file descriptors available)\n", nMaxConnections, nFD);
|
||||
std::ostringstream strErrors;
|
||||
|
||||
LogPrintf("Using %u threads for script verification\n", nScriptCheckThreads);
|
||||
if (nScriptCheckThreads) {
|
||||
LogPrintf("Using %u threads for script verification\n", nScriptCheckThreads);
|
||||
for (int i=0; i<nScriptCheckThreads-1; i++)
|
||||
threadGroup.create_thread(&ThreadScriptCheck);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue