From 421e087d816851e24c46d0450b733553dfff3e1e Mon Sep 17 00:00:00 2001 From: SChernykh Date: Mon, 26 Dec 2022 19:52:15 +0100 Subject: [PATCH] Fixed UV thread pool size --- src/log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log.cpp b/src/log.cpp index b8ff7ab..6a6c220 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -160,7 +160,7 @@ private: #define putenv _putenv #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] = {}; log::Stream s(buf);