From 58b96e84008b8851c7af9d377f9350475e4e70dd Mon Sep 17 00:00:00 2001 From: Vlad Khorsun Date: Mon, 29 Jan 2024 13:22:38 +0200 Subject: [PATCH] Fixed typo - let correctly check value of ParallelWorkers setting against value of MaxParallelWorkers --- src/common/config/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/config/config.cpp b/src/common/config/config.cpp index 39b108b16a..39a1c09da7 100644 --- a/src/common/config/config.cpp +++ b/src/common/config/config.cpp @@ -431,7 +431,7 @@ void Config::checkValues() checkIntForHiBound(KEY_MAX_PARALLEL_WORKERS, 64, false); // todo: detect number of available cores checkIntForLoBound(KEY_PARALLEL_WORKERS, 1, true); - checkIntForHiBound(KEY_MAX_PARALLEL_WORKERS, values[KEY_MAX_PARALLEL_WORKERS].intVal, false); + checkIntForHiBound(KEY_PARALLEL_WORKERS, values[KEY_MAX_PARALLEL_WORKERS].intVal, false); }