mirror of
https://github.com/SChernykh/p2pool.git
synced 2025-03-12 09:29:51 +00:00
Fixed UV thread pool size
This commit is contained in:
parent
a1ec97a221
commit
421e087d81
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ private:
|
||||||
#define putenv _putenv
|
#define putenv _putenv
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const uint32_t N = std::max(std::min(std::thread::hardware_concurrency(), 4U), 8U);
|
const uint32_t N = std::min(std::max(std::thread::hardware_concurrency(), 4U), 8U);
|
||||||
|
|
||||||
char buf[40] = {};
|
char buf[40] = {};
|
||||||
log::Stream s(buf);
|
log::Stream s(buf);
|
||||||
|
|
Loading…
Reference in a new issue