logic: indexer count and fixes
* added option to define the amount of parallel indexers in the appsettings * fixed unparsed files query in ASTVisitor * fixed: to update a node's type in the storage the node does not have to be defined anymore
This commit is contained in:
+1
-1
@@ -177,7 +177,7 @@ void Project::parseCode()
|
||||
|
||||
std::shared_ptr<std::mutex> storageMutex = std::make_shared<std::mutex>();
|
||||
|
||||
for (int i = 0; i < 4; i++)
|
||||
for (int i = 0; i < ApplicationSettings::getInstance()->getIndexerThreadCount(); i++)
|
||||
{
|
||||
taskParallel->addTask(std::make_shared<TaskParseCxx>(
|
||||
m_storage.get(),
|
||||
|
||||
Reference in New Issue
Block a user