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:
@@ -65,10 +65,14 @@ Id PersistentStorage::addNode(int type, const std::string& serializedName, int d
|
||||
}
|
||||
else
|
||||
{
|
||||
if (storedNode.definitionType == 0 && definitionType > 0)
|
||||
if (storedNode.definitionType == 0)
|
||||
{
|
||||
m_sqliteStorage.setNodeDefinitionType(definitionType, nodeId);
|
||||
if(storedNode.type < type)
|
||||
if (definitionType > 0)
|
||||
{
|
||||
m_sqliteStorage.setNodeDefinitionType(definitionType, nodeId);
|
||||
}
|
||||
|
||||
if (storedNode.type < type)
|
||||
{
|
||||
m_sqliteStorage.setNodeType(type, nodeId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user