logic: Use all available cores when setting indexer threads to 0 (issue #342)

This commit is contained in:
malte_langkabel
2017-04-11 13:42:20 +02:00
parent 498933d0aa
commit c78fe0d8d4
7 changed files with 64 additions and 5 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ bool ApplicationSettings::setIndexingFilePaths(const std::vector<FilePath>& inde
int ApplicationSettings::getIndexerThreadCount() const
{
return getValue<int>("indexing/indexer_thread_count", 4);
return getValue<int>("indexing/indexer_thread_count", 0);
}
void ApplicationSettings::setIndexerThreadCount(const int count)