From f3a9edea577085abbeacbc78c2a8f20b078dbe22 Mon Sep 17 00:00:00 2001 From: Evan Klitzke Date: Tue, 24 Mar 2020 08:52:25 -0700 Subject: [PATCH] Update the threads comment in config.hh w/ the actual core count used --- src/config.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config.hh b/src/config.hh index 751a712c..67d51e89 100644 --- a/src/config.hh +++ b/src/config.hh @@ -285,7 +285,8 @@ struct Config { // If true, index parameters in declarations. bool parametersInDeclarations = true; - // Number of indexer threads. If 0, 80% of cores are used. + // Number of indexer threads. If 0, the number of index threads will match + // the number of cores (as reported by std::thread::hardware_concurrency). int threads = 0; // Whether to reparse a file if write times of its dependencies have