|
|
@ -171,7 +171,8 @@ SideChain::SideChain(p2pool* pool, NetworkType type, const char* pool_name)
|
|
|
|
// Use between 1 and 8 threads
|
|
|
|
// Use between 1 and 8 threads
|
|
|
|
if (numThreads < 1) numThreads = 1;
|
|
|
|
if (numThreads < 1) numThreads = 1;
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _DEBUG
|
|
|
|
// Don't limit thread count when debugging because debug builds are slow
|
|
|
|
|
|
|
|
#ifndef P2POOL_DEBUGGING
|
|
|
|
if (numThreads > 8) numThreads = 8;
|
|
|
|
if (numThreads > 8) numThreads = 8;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|